honyk wrote:
Thanks for that hint.
http://drifted.in/encoding/encoding.svg returns HTTP Content-type
image/svg+xml (according to Firebug)
but http://drifted.in/encoding/faces/encoding.svg returns
image/svg+xml;charset=ISO-8859-1
In Tomcat 6 powered web I am getting just 'image/svg+xml' in both
> > Thanks for that hint.
> > http://drifted.in/encoding/encoding.svg returns HTTP Content-type
> > image/svg+xml (according to Firebug)
> > but http://drifted.in/encoding/faces/encoding.svg returns
> > image/svg+xml;charset=ISO-8859-1
> >
> > In Tomcat 6 powered web I am getting just 'image/svg+xm
2011/7/30 honyk :
>> > In tomcat 6 there is no difference between these two links
>> > http://drifted.in/encoding/encoding.svg
>> > http://drifted.in/encoding/faces/encoding.svg
>> >
>> > but in Tomcat 7 I am getting different results. The first is Ok while
>> > the second, processed by faces servl
> > In tomcat 6 there is no difference between these two links
> > http://drifted.in/encoding/encoding.svg
> > http://drifted.in/encoding/faces/encoding.svg
> >
> > but in Tomcat 7 I am getting different results. The first is Ok while
> > the second, processed by faces servlet, breaks the encoding.
2011/7/30 honyk :
> Hello Everyone,
>
> when migrating my JSF 2.0 app from tomcat 6.0.32 to the version 7.0.19 I've
> encountered the following encoding issue.
>
> I have a simple JSF (xhtml) page with an embedded SVG image in it type="image/svg+xml" data="encoding.svg">. In the web.xml file there