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

Glen Mazza commented on JSPWIKI-396:
------------------------------------

Hmm, Apache Roller had a similar problem recently with Java resource files: 
https://issues.apache.org/jira/browse/ROL-1955 that was fixed in this manner: 
http://svn.apache.org/viewvc/roller/trunk/weblogger-web/src/main/resources/ApplicationResources_de.properties?r1=895563&r2=1416323&diff_format=h

I notice that our German property files do things in what Roller had determined 
to be the "bad" way:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/etc/i18n/CoreResources_de.properties?revision=1400875&view=markup#l57

We may need to switch to the Roller way of encoding special German characters.  
(It's what we do for Chinese already: 
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/etc/i18n/CoreResources_zh_CN.properties?revision=1400875&view=markup
  ).  

However, our Main.text (and all other sample .text files) is where this problem 
is occurring, and I'm just seeing properly formatted umlaut characters in the 
.text files:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/wikipages/de/Main.txt?revision=1234977&view=markup
...as well as actual Chinese characters (none of the "\u..." escaping stuff) in 
the Chinese files:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/wikipages/zh_CN/Main.txt?revision=1234977&view=markup

But this could be an issue with my browser and/or how SVN decides to render 
.text vs .properties files.  Anyone know if we can use \uxxxx escaping in our 
Text files, and if it will work?  I can test it...  Only problem I see is, even 
if that *does* work and fixes this issue, what about German users typing in 
accented characters, *those* would need to be escaped too or there would be the 
same problem on WebLogic.

                
> 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
>         Attachments: .jpg, .jpg, main_de.png, 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.
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