incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janne Jalkanen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JSPWIKI-396) UTF-8 characters in wiki pages incorrectly rendered if served by Weblogic
Date Sun, 20 Jan 2013 21:50:13 GMT

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

Janne Jalkanen commented on JSPWIKI-396:
----------------------------------------

Actually, WikiJSPFilter is way more complicated than a simple cache.  When a plugin needs
to insert a resource (e.g. CSS) to the HEAD of the document, it notifies TemplateManager,
who stores it. Then, WikiJSPFilter buffers the entire response to memory, emits the resource
requests (CSS) to the right location in the respnse, and then flushes to the real output stream.

So disabling WikiJSPFilter disables quite a few plugins.

I think a better way is to play with UtilJ2eeCompat and see if setting the useStream to true
would help. That should wrap the response in a byte[], not char[] or something to that effect.
                
> 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: 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

Mime
View raw message