[
https://issues.apache.org/jira/browse/JSPWIKI-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638327#action_12638327
]
Harry Metske commented on JSPWIKI-396:
--------------------------------------
Jürgen, we are talking two different things here
1. page encoding, this is done by calling
ServletRequest|ServletResponse.setCharacterEncoding() or if you use JSP:
<%@ page pageEncoding="UTF-8" %> (see
http://java.sun.com/j2ee/1.4/docs/api/index.html for more details), this
results in a Content-Type http header specifying the UTF-8 codepage.
2. setting the right character encoding om the tomcat connector in tomcat's
server.xml , or an equivalent in WebLogic.
Both have to be set properly, the first one is done by JSPWiki, and I think it
does it correctly.
Looking at your wget hexdump, that is really strange, you have twice a u with
umlaut, both encoded differently and both wrong.
I just did the same for tomcat, and that gives me a hex "c3 bc", which is
correct according to http://www.utf8-chartable.de/. see attachment.
It sure looks like something wrong with WebLogic to me too.
> 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
> Components: Default template
> Reporter: Jürgen Weber
> Priority: Minor
> Attachments: .jpg, .jpg, screenshot-1.jpg
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.