-
Bug
-
Resolution: Fixed
-
Major
-
3.5.4
-
None
-
None
-
Linux and XP, Weblogic 10
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");
- is related to
-
MAGNOLIA-2364 UTF-8 characters are not displayed properly in paragraphs in Weblogic
- Closed
-
MAGNOLIA-2457 Ensure default encoding for JSPs is always set to UTF-8 even when not declared explicitely.
- Closed
- is superseded by
-
MAGNOLIA-2093 UTF-8 characters are not displayed properly in paragraphs on Weblogic
- Closed