What determine the default locale?

2000-01-02 Thread David Li

Hi,

  We are moving systems from CLE (Chinese language extension) to RedHat
6.1. In the process, we have found that it's tricky to get Java's
runtime correctly support Chinese in RedHat 6.1 mainly due to the in
correct setting of locale. We have tried several configurations but Java
Runtime in RedHat always have default local to be en_US.

  We have tried setting LANG, LC_ALL, LC_CTYPE and etc. It doesn't seem
to affect the default locale. We try adding -Dfile.encoding. Doesn't
work either. Can any one with source access to JDK take a peek at how
default locale is decided? Thanks.

David Li
Topware Technology


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Can "RH6+Apache+JServ+MySQL" support Chinese code ?

2000-01-02 Thread jack . w

Hi, Happy New Millenium !

For NT problem, I want to transfer my servlet to Linux.
Now I have a test servlet in "RH6+Apache+JServ+MySQL" ,
as for  English code, it is OK, but I don't know if it is also no
problem to Chinese code ? Anyone can tell me ?

Thanks.

JackWang



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: What determine the default locale?

2000-01-02 Thread Nathan Meyers

David Li wrote:
> 
> Hi,
> 
>   We are moving systems from CLE (Chinese language extension) to RedHat
> 6.1. In the process, we have found that it's tricky to get Java's
> runtime correctly support Chinese in RedHat 6.1 mainly due to the in
> correct setting of locale. We have tried several configurations but Java
> Runtime in RedHat always have default local to be en_US.

What has changed and what hasn't changed? Are you trying to use the same
Java distribution in two different Linux environments, or different JDK
distributions?

Nathan

> 
>   We have tried setting LANG, LC_ALL, LC_CTYPE and etc. It doesn't seem
> to affect the default locale. We try adding -Dfile.encoding. Doesn't
> work either. Can any one with source access to JDK take a peek at how
> default locale is decided? Thanks.
> 
> David Li
> Topware Technology
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]