WebSphere Application Server - trouble displaying international characters

This is Interesting: Free IT Magazines  
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
Eqbal

2006-03-14, 5:57 pm

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?
Ben_

2006-03-15, 7:50 am

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.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com