permaculture playing cards*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Writing chinese/ japanese characters..." Watch "Writing chinese/ japanese characters..." New topic
Author

Writing chinese/ japanese characters...

mshravan kumar
Greenhorn

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
 
 
subject: Writing chinese/ japanese characters...