Weblogic 10 UTF-8 encoding issue
--------------------------------

                 Key: MAGNOLIA-2087
                 URL: http://jira.magnolia.info/browse/MAGNOLIA-2087
             Project: Magnolia
          Issue Type: Bug
    Affects Versions: 3.5.4
         Environment: Linux and XP, Weblogic 10
            Reporter: Kirk Freeman
            Assignee: Boris Kraft
         Attachments: Screenshot-Magnolia 3.5 Samples | Feedback - Mozilla 
Firefox.png, weblogic.xml

I'm having trouble with Internationalized character sets on Weblogic 10, but 
appears to work fine on tomcat and Glassfish.  

To reproduce use the magnoliaAuthor-community-3.5.4 war on both Weblogic and 
tomcat. For Weblogic add a weblogic.xml to the WEB-INF (attached).

Tell weblogic where the jaas.config is located:
JAVA_OPTIONS="${JAVA_OPTIONS} 
-Djava.security.auth.login.config=~/downloads/magnoliaAuthor-community-3.5.4/WEB-INF/config/jaas.config"

Add a new "Text and Image" paragraph to the Feedback page with FCKEditor and 
some Polish text. I grabbed the top paragraph from 
http://www.efax.com/pl/intl/product/globalGateway and pasted it into the editor.

It looks fine in the FCKEditor, even retrieving it after save and node looks 
fine in the JCR Browser. The text is corrupted when the page renders though 
(screenshot attached).  Again, the page looks fine in tomcat.

We tried 4 different things to get the JSP to generate the page correctly:

Weblogic command line parameter: Dweblogic.wtc.encoding=utf8

Element in weblogic.xml:
  <jsp-descriptor>
    <encoding>UTF-8</encoding>
  </jsp-descriptor>

Add pageEncoding, although contentType should have worked.

<%@ page contentType="text/html;charset=UTF-8" language="java" 
pageEncoding="UTF-8"%>

Add setContentType to our j2 response filters, although we deactivated them and 
had the same issue.

    response.setContentType("text/html;charset=UTF-8");


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to