RE: Passing non-english character params in URL

First of all any character which is above  the lower ascii ( which is true
for thai ) range need to URL encoded properly. Also inside the servlet,
check whether the all the thai characters coming in as native thai encoding
or UTF-16. If you are calling any Java API on Thai chars, the string need to
be in utf-16.

-Vinod

Hi

     I'm working on a project where i need to pass some params to a URL for
processing the data. In this case the data passed as params could be english
or non-english.when i process the data on the servlet invoked by the URL the
non-english data is junk.

     The exact scenario is i have a servlet which picks up data from an
oracle database which can contain english as well as thai characters.I send
this data to a Oracle Report Server where this data will be displayed in a
Report.The data picked up by the Report Server is proper, where as the data
passed thru URL is not.

     I use jdk 1.2.2 and Oracle 8.1.6 database on Solaris, and the Oracle
Report Server is 6.1 running in NT English.  The servlet is hosted on the
weblogic6.0 in solaris.

     Would like any suggestions and directions regarding this.


Thanks and Regards

SAM

Received on Monday, 20 August 2001 12:49:40 UTC