Showing Chinese characters being fetched from database.

Hi,

I have an application (using JSP and Servlets) that needs to show the data fetched from an nVarchar field from an Oracle database. When the data being read includes chinese characters, they are shown as"?". The encoding shown on the client browser is "ISO-8859-1", which clearly needs to be UTF-8.

Can anybody guide me as to the settings required on the server to change the encoding and ensure that the pages are sent out properly.

Regards,

Manish.

[492 byte] By [rookie@java.sun.com] at [2007-11-26 10:11:22]
# 1
First, check to make sure that the strings sent to the browser are correctly encoded. Do so by manually switching the browser's encoding to the correct value. If you see the correct string, then set the charset to UTF-8. Some thing like this:Content-Type: text/html; charset=utf-8
dev01@ws at 2007-7-7 1:57:53 > top of Java-index,Web & Directory Servers,Web Servers...