Re: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread Konstantin Kolinko
2011/7/30 honyk j.tosov...@email.cz: 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 object type=image/svg+xml data=encoding.svg. In the

RE: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread 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 servlet, breaks the encoding. You

Re: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread Konstantin Kolinko
2011/7/30 honyk j.tosov...@email.cz: 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

RE: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread honyk
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

Re: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread André Warnier
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