This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Writing chinese/ japanese characters... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Writing chinese/ japanese characters..." Watch "Writing chinese/ japanese characters..." New topic

Writing chinese/ japanese characters...

mshravan kumar

Joined: Jan 27, 2009
Posts: 2
Hello Group,

We have an app which is running in ATG Dynamo server. Front-end is Flex and server-side programming is Java Servlets.

We have deployed this app in two servers, in which one server has locale as ISO-8859-1 and other UTF-8.

The Front end Flex will send the content (text content) to java servlets. Now when we enter special character like Chinese, Japanese or any other language other than English, we are NOT able to get the content as entered by user to java servlets (means the special characters are converted to question marks "???") for the server with locale UTF-8, where as java servlets is receiving exact data in the server having locale as ISO-8859-1.

Flex code has <meta http-equiv="content-type" content="text/html; charset=utf-8"> in its header and the xml sent by Flex has <?xml version="1.0" encoding="utf-8"?>

Would this problem relates to server configuration or any other solution?

Thank You
Consider Paul's rocket mass heater.
subject: Writing chinese/ japanese characters...
Similar Threads
Chinese name in URL
Soap turning non-ascii chars to garbage
String encoding and decoding
Problem while storing Japanese characters in Oracle 9i
Japanese characters in eclipse 3.2.2