incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lutz Tietze (JIRA)" <>
Subject [jira] Commented: (JSPWIKI-348) German umlauts not displayed properly on OC4J installation
Date Wed, 20 Aug 2008 18:26:44 GMT


Lutz Tietze commented on JSPWIKI-348:

You probably didn't know what I meant with "chinese" characters. So, I uploaded some pictures.

After getting JSPWiki 2.6.3 to work on OC4J, finally -  the main window appeared with those
strange letters I have never seen before. 
I entered some words in the edit mode. In view mode the umlauts were incorrectly converted,
again. The files were saved OK. 
There was no big difference whether I used UTF-8 or ISO-8859-1.

I logged the output coming from the WikiEngine. Everything seamed to be OK. Nothing wrong.
The only thing which left was the WikiJSPFilter and the WikiServletFilter. After disabling
the JSP Filter the output was correct.
I did some tests on a simple project with nothing but a JSP page and the WikiJSPFilter. I
reduced the Filter so that it only wrapped the reponse and wrote it back to output stream.

After googling I found that Oracle recommends a different way of filtering the output than
Sun. See

Hope this gives you an idea of the issue. The new patch or call it a workaround is supposed
to be clearer and hopefully not breaking your guidelines anymore. I am going to test it on
tomcat as soon as possible.

You wanted me to supply a patch for the 2.7.0 version. May be I am too stupid but I couldn't
find this branche, tag?? The only newer version I saw was 2.8.0. I checked the souce code
and did not find any major difference.
I would appreciate any comments.


> German umlauts not displayed properly on OC4J installation
> ----------------------------------------------------------
>                 Key: JSPWIKI-348
>                 URL:
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Servlet Container/Java compatibility
>    Affects Versions: 2.6.0, 2.6.1, 2.6.2, 2.6.3
>         Environment: openSuSe 10.3/Windows XP
> Oracle Container for J2EE (OC4J
> JSPWiki 2.6.0/2.6.3
> Firefox 3/IE 6
>            Reporter: Lutz Tietze
>         Attachments: Edit.png, JSPWiki-348.patch, JSPWiki-348.patch, Main.png, View.png
> The German umlauts are shown as chinese (?) letters. 
> The problem was found in the MyServletResponseWrapper in The conversion
of the outputstream into a CharArrayWriter seams to be implemented differently on OC4J. The
use of a ByteArrayOutputStream instead works for OC4J. 
> Not tested on any other servlet container.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message