This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Websphere and the fly likes Prioblem displaying Japanese characters in IE using WebSphere 5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Prioblem displaying Japanese characters in IE using WebSphere 5.1" Watch "Prioblem displaying Japanese characters in IE using WebSphere 5.1" New topic
Author

Prioblem displaying Japanese characters in IE using WebSphere 5.1

sekhar variam
Greenhorn

Joined: Nov 09, 2001
Posts: 15
Hi All,
I am facing a major issue when coming to display Japanese characters in Browser. I am working on a web application which has to be internationalized to support Japanese characters.

These are the steps i followed
1. ran native2ascii on the Language property file.
2. set content type to UTF-8 in JSP
This works in weblogic but in Websphere,
The characters are garbled up in the browser.

When I dont set the content type to UTF-8 in JSP, the data is garbled up but the browser encoding is Western European. If I change the browser encoding manually to UTF-8 then it becomes all right.

Alternatively if i save the JSP file in PC UTF-8 format and dont set the content type to UTF-8 then the data is properly displayed. But we cannot do this as it causes some other UI issues in US locale.

Am i missing something here
Thanks in advance
Sekhar


SCJP4(96%)
 
wood burning stoves
 
subject: Prioblem displaying Japanese characters in IE using WebSphere 5.1