Re: Jsp character encoding configuration

2017-02-23 Thread Lazar Kirchev
Thanks Mark! Here it is: https://bz.apache.org/bugzilla/show_bug.cgi?id=60769 On Tue, Feb 21, 2017 at 9:49 PM, Mark Thomas wrote: > On 18/02/2017 16:32, Lazar Kirchev wrote: > > I noticed something else strange. If in an jspx file I declare one and > > the same encoding (in my

Re: Jsp character encoding configuration

2017-02-21 Thread Mark Thomas
On 18/02/2017 16:32, Lazar Kirchev wrote: > I noticed something else strange. If in an jspx file I declare one and > the same encoding (in my case Windows-1252) in both the XML prolog and > the page directive pageEncoding property, on Tomcat 8.5.11 I get the > error message: > "Page-encoding

Re: Jsp character encoding configuration

2017-02-18 Thread Lazar Kirchev
I noticed something else strange. If in an jspx file I declare one and the same encoding (in my case Windows-1252) in both the XML prolog and the page directive pageEncoding property, on Tomcat 8.5.11 I get the error message: "Page-encoding specified in XML prolog (UTF-8) is different from that

Jsp character encoding configuration

2017-02-18 Thread Lazar Kirchev
Hello, According to the JSP 2.3 spec, section 3.3.4 (Declaring page encodings): "It is also a translation-time error to name different encodings in the prolog / text declaration of the document in XML syntax and in a JSP configuration element matching the document. It is legal to name the same