Re: Ajax encoding problem Linux
Ian Roughley <[email protected]> Thu, 28 Dec 2006 09:31:16 -0500
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <[email protected]> |
Have you tried explicitly setting the encoding in the JSP? The other suggestion would be the prototype mailing list. /Ian Alexandre Jacques wrote: > Hi, > > I am having some trouble (again) with character encoding. My pages > (JSPs) are rendering OK, but if I call a remote action that returns a > JPS (so I can use innerHTML) with Ajax, all my special characters > appears as strange signs: "?" in IE and "�" in Firefox. > > My configuration is as follow: > > - in my Linux box: > > export LANG=pt_BR.ISO-8859-1 > export LC_ALL=pt_BR.ISO-8859-1 > > > - in webwork.properties: > > webwork.i18n.encoding=ISO-8859-1 > webwork.locale=pt_BR > > - And, for the sake of completeness, in my WebLogic startup script I use: > > -Dfile.encoding=ISO-8859-1 -Duser.language=pt > > Does anyone have a clue? > > PS: I am using Prototype javascript library and I need to show > Portuguese special characters. > > TIA > > Alexandre Jacques