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

RE: Passing non-english character params in URL

From: Lenny Turetsky <LTuretsky@salesforce.com>
Date: Mon, 20 Aug 2001 10:05:23 -0700
Message-ID: <13A191251979D411A44000D0B76FDEE202728853@samoa.internal.salesforce.com>
To: "'Sam'" <samk@vwebsol.com>
Cc: "'www-international@w3.org'" <www-international@w3.org>

The java.net.URLEncoder class is *NOT* correct in regards to encoding
non-English characters.

I wrote my own replacement for it, which you're welcome to use. It's
attached to this e-mail.

Happy coding,

-----Original Message-----
From: Sam [mailto:samk@vwebsol.com]
Sent: Sunday, August 19, 2001 6:20 PM
To: www-international@w3.org
Subject: Passing non-english character params in URL


     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


Received on Monday, 20 August 2001 13:05:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:40:45 UTC