[ 
https://issues.apache.org/jira/browse/JSPWIKI-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13657319#comment-13657319
 ] 

Harry Metske commented on JSPWIKI-396:
--------------------------------------

Jürgen, I tried the suggested page-encoding, but it did not make any difference.
The only thing that makes it work properly is the file.encoding=UTF-8 Java 
system property (which is the default on most modern Linuxes).
So, my theory is that somewhere in JSPWiki (or a library we use) we implicitly 
use this system property, while in other places we use the encoding that is 
configured in jspwiki.properties (jspwiki.encoding = UTF-8).

To confirm this theory, could you run this simple jsp and tell me what the 
output is :

{noformat}
<%@ page language="java" contentType="text/html; charset=UTF-8" 
pageEncoding="UTF-8"%>
<html>
<body>
<%
out.println("file.encoding=" + System.getProperty("file.encoding"));
%>
</body>
</html>
{noformat}



                
> UTF-8 characters in wiki pages incorrectly rendered if served by Weblogic 
> --------------------------------------------------------------------------
>
>                 Key: JSPWIKI-396
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-396
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.9
>            Reporter: Jürgen Weber
>            Assignee: Glen Mazza
>            Priority: Minor
>             Fix For: 2.9.1
>
>         Attachments: GlenJSP396.patch, .jpg, .jpg, main_de.png, 
> screenshot-1.jpg, WikiJSPFilter.java.diff
>
>
> The Germain Main.txt starts with Herzlichen Glückwunsch.
> If the page is served by Weblogic Server, the umlaut is rendered with FFC3 
> and FFBC in Boxes, both with Firefox and IE. Served by Geronimo, it's fine.
> Herzlichen Glᅢᄐckwunsch
> Firefox page info says, page encoding is UTF-8.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to