W3C home > Mailing lists > Public > www-international@w3.org > July to September 2001

RE: Passing non-english character params in URL

From: Vinod Balakrishnan <vinod_balakrishnan@filemaker.com>
Date: Mon, 20 Aug 2001 09:52:10 -0700
To: "Sam \(by way of Martin Duerst <duerst@w3.org>\)" <samk@vwebsol.com>, <www-international@w3.org>
Message-ID: <NDBBJMCMAKNFENEKNHHCEEOIDOAA.vinod@filemaker.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:57 GMT