W3C home > Mailing lists > Public > www-international@w3.org > January to March 2002

RE: Using UTF-8 as charset in SetContentType

From: souravm <souravm@infy.com>
Date: Tue, 8 Jan 2002 14:36:37 +0530
Message-ID: <755FA95DB839D211856B0008C7287D930DCC0D44@kecmsg02.ad.infosys.com>
To: "Ting Yong Zhu" <zhuty@cn.ibm.com>, <www-international@w3.org>
Hi Tingyoug,

Thanks a lot for your input. It worked.


-----Original Message-----
From: Ting Yong Zhu [mailto:zhuty@cn.ibm.com]
Sent: Tuesday, January 08, 2002 9:09 AM
To: www-international@w3.org
Subject: Re: Using UTF-8 as charset in SetContentType


There are some changes in WAS 4.0 on encoding selection.

First, make sure to modify the file in WAS_ROOT directory:
Change the encoding for your desired locale. For example, if you want to
use UTF-8 for any locale, you'd change the file content as:
     ... ...

Then, remember to SetContentType() to the corresponding encoding.

Good Luck!

Tingyong Zhu



                    <souravm@infy.com>           To:

                    Sent by:                     cc:

                    www-international-requ       Subject:     Using
UTF-8 as charset in SetContentType                                



                    2002-01-08 11:28



Hi All,

I'm using WebSphere's application server 4.0 on linux.
I'm setting the content type as charset=UTF-8.
In the linux OS I'm setting my locale to en_US.utf8 before starting the
application server.

I'm entering a japanese string from one form (user entered) and printing
the same string in the next form. It does not work. Where as if I try to
print a hard coded Unicode string it works fine.

Can anybody tell me what could be the problem ?

Received on Tuesday, 8 January 2002 04:07:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:21 UTC