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

Re: Using UTF-8 as charset in SetContentType

From: Ting Yong Zhu <zhuty@cn.ibm.com>
Date: Tue, 8 Jan 2002 11:38:39 +0800
To: www-international@w3.org
Message-ID: <OF085884C3.D37D3A4D-ON48256B3B.0013F898@cn.ibm.com>

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:     <www-international@w3.org>                                                   
                    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 Monday, 7 January 2002 22:53:54 UTC

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