You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Jürgen Weber (JIRA)" <ji...@apache.org> on 2014/05/27 14:02:02 UTC

[jira] [Reopened] (JSPWIKI-396) UTF-8 characters in wiki pages incorrectly rendered if served by Weblogic

     [ https://issues.apache.org/jira/browse/JSPWIKI-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jürgen Weber reopened JSPWIKI-396:
----------------------------------


I tried jspwiki-2.10.1-rc1 with WebSphere Application Server 8.5.5.2, there the problem resurfaces.

Reason is that UtilJ2eeCompat.initCompatibilityOptions() tries to match Websphere wheres serverInfo is "IBM WebSphere Application Server/8.5"

A fix is to use a capital S. A little better would be to lowercase serverInfo before comparing.

A lot better would be to throw out the server check mess and make the code compatible to all servers.

> 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: Harry Metske
>            Priority: Minor
>             Fix For: 2.9.1
>
>         Attachments: .jpg, .jpg, GlenJSP396.patch, WikiJSPFilter.java.diff, 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 was sent by Atlassian JIRA
(v6.2#6252)

Re: [jira] [Reopened] (JSPWIKI-396) UTF-8 characters in wiki pages incorrectly rendered if served by Weblogic

Posted by Harry Metske <ha...@gmail.com>.
fixed in 2.10.2-svn-1

regards,
Harry



On 27 May 2014 14:02, Jürgen Weber (JIRA) <ji...@apache.org> wrote:

>
>      [
> https://issues.apache.org/jira/browse/JSPWIKI-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
>
> Jürgen Weber reopened JSPWIKI-396:
> ----------------------------------
>
>
> I tried jspwiki-2.10.1-rc1 with WebSphere Application Server 8.5.5.2,
> there the problem resurfaces.
>
> Reason is that UtilJ2eeCompat.initCompatibilityOptions() tries to match
> Websphere wheres serverInfo is "IBM WebSphere Application Server/8.5"
>
> A fix is to use a capital S. A little better would be to lowercase
> serverInfo before comparing.
>
> A lot better would be to throw out the server check mess and make the code
> compatible to all servers.
>
> > 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: Harry Metske
> >            Priority: Minor
> >             Fix For: 2.9.1
> >
> >         Attachments: .jpg, .jpg, GlenJSP396.patch,
> WikiJSPFilter.java.diff, 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 was sent by Atlassian JIRA
> (v6.2#6252)
>