[
https://issues.apache.org/jira/browse/SLING-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995403#comment-12995403
]
Julian Sedding commented on SLING-1939:
---------------------------------------
As a workaround you can include <%@page pageEncoding="utf-8" %> in every JSP
file containing static strings with accented characters.
> wrong character encoding for compiled JSP scripts
> -------------------------------------------------
>
> Key: SLING-1939
> URL: https://issues.apache.org/jira/browse/SLING-1939
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: Scripting JSP 2.0.12
> Reporter: Victor Saar
> Priority: Minor
>
> I have a JSP that contains some static text with special chars (e.g.
> umlauts). Though the JSP itself seems to be correctly encoded as UTF-8, the
> compiled .java class under /var/classes/... shows these characters wrongly
> encoded.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira