|
Home > Archive > WebSphere Application Server > March 2006 > trouble displaying international characters
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
trouble displaying international characters
|
|
|
| We are using WAS 4.0.5 and I am having trouble displaying international
characters (french) in the browsers. It sometimes displays it correctly
and sometimes not (tested with both IE & Firefox).
I have included <%@ page contentType="text/html;charset=UTF-8" %> on all
the JSP pages, but still have the same problem. Most of the characters
are coming from the database fields (I know they are being stored
correctly in the database). Any idea what else I can try to fix this?
| |
|
| Not only must you write the characters in the response in the correct
charset, but you also need to read them from the database in the correct
charset.
IIRC, System Property "file.encoding" is the easy way to force the default
encoding when reading data.
|
|
|
|
|