[MAGNOLIA-2087] Weblogic 10 UTF-8 encoding issue Created: 13/Mar/08 Updated: 23/Jan/13 Resolved: 26/Mar/08 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 3.5.4 |
| Fix Version/s: | 3.5.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Kirk Freeman | Assignee: | Boris Kraft |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux and XP, Weblogic 10 |
||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||
| Description |
|
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: 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: 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"); |
| Comments |
| Comment by Jan Haderka [ 26/Mar/08 ] |
|
svn #14777 |