https://bz.apache.org/bugzilla/show_bug.cgi?id=66536
Bug ID: 66536
Summary: tagsfiles seem to be compiles with the wrong source
encoding
Product: Tomcat 9
Version: 9.0.69
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
Created attachment 38526
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38526&action=edit
minimal webapp
Hi there,
When I let tomcat/jasper compile the following tag file
(WEB-INF/tags/umlaut.jsp):
<%@tag
trimDirectiveWhitespaces="true"
pageEncoding="UTF-8"
%>
<%= "ü does not work" %> // bytes c3 bc
compiles into umlaut_tag.java in which the umlaut is doubly utf-8 encoded
like this:
out.print( "ü does not work" ); // bytes c3 83 c2 bc
String literals in jsp files work just fine, so I'd like to rule out
errors in my encoding setup.
(Tomcat is running with LC_ALL=de_DE.UTF-8.)
I've attached a minimal webapp demonstrating that jsp is working, but the tag
files are not.
Regards,
Holger
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]