You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Matt Flowers <ma...@gmail.com> on 2005/08/04 07:12:18 UTC

Derby locale problem?

I have MS IME Japanese input installed on my PC. Now when I run Derby
it helpfully uses the Japanese language settings. Unfortunately, I
can't read it. How do I force it to use English?

(Versions: db-derby-10.1.1.0-bin, XP SP2, Java 1.4.2_07-b05)

Here's a sample run:

C:\devl\programs\derby\frameworks\NetworkServer\bin>startNetworkServer.bat  
サーバーは、ポート 1527 で接続を受け入れる準備ができました。  

I tried moving the localization jars out of the lib dir. It didn't
work. Any ideas?

-Matt Flowers

Re: Derby locale problem?

Posted by Matt Flowers <ma...@gmail.com>.
Thanks for all the help. Here's what I eventually found.

In control panel -> Regional and Language Options -> Regional Options
-> Location was United States and Standards and Formats was
English(United States)

Regional and Language Options -> Languages -> Details, my Default
input language was English - US

However, Regional and Language Options -> Advanced -> "Language for
non-unicode programs" was set to Japanese. So I changed that back and
that fixed it.

The "_JAVA_OPTIONS=-Duser.language=en -Duser.locale=us" trick also
worked before I made the other change.

Thanks again,

Matt Flowers


On 8/4/05, TomohitoNakayama <to...@basil.ocn.ne.jp> wrote:
> Hello.
> 
> I remembered some more ....
> 
> Try _JAVA_OPTIONS enviroment variable when you startNetworkServer.
> 
> This may solve your problem, though it did not mine.
> http://article.gmane.org/gmane.comp.apache.db.derby.devel/4638
> 
> 
> Best regards.
> 
> 
> /*
> 
>          Tomohito Nakayama
>          tomonaka@basil.ocn.ne.jp
>          tomohito@rose.zero.ad.jp
>          tmnk@apache.org
> 
>          Naka
>          http://www5.ocn.ne.jp/~tomohito/TopPage.html
> 
> */
> ----- Original Message -----
> From: "TomohitoNakayama" <to...@basil.ocn.ne.jp>
> To: "Derby Discussion" <de...@db.apache.org>
> Sent: Friday, August 05, 2005 2:33 AM
> Subject: Re: Derby locale problem?
> 
> 
> > Mistaken ....
> >
> >>convigure JDK.
> > configure JDK.
> >
> > Well ....
> > English locale of me is not fully implemented yet :P
> >
> > Best regards.
> >
> > /*
> >
> >         Tomohito Nakayama
> >         tomonaka@basil.ocn.ne.jp
> >         tomohito@rose.zero.ad.jp
> >         tmnk@apache.org
> >
> >         Naka
> >         http://www5.ocn.ne.jp/~tomohito/TopPage.html
> >
> > */
> > ----- Original Message -----
> > From: "TomohitoNakayama" <to...@basil.ocn.ne.jp>
> > To: "Derby Discussion" <de...@db.apache.org>
> > Sent: Friday, August 05, 2005 2:27 AM
> > Subject: Re: Derby locale problem?
> >
> >
> >> Hello.
> >>
> >> Before, I was suffered in similar problem testing derby ....
> >> Configuring locale of windows was needed to convigure JDK.
> >>
> >> I think infomation in series of next mail may help you ...
> >> http://thread.gmane.org/gmane.comp.apache.db.derby.devel/4615
> >> http://article.gmane.org/gmane.comp.apache.db.derby.devel/4665
> >>
> >> Best regards.
> >>
> >>
> >> /*
> >>
> >>         Tomohito Nakayama
> >>         tomonaka@basil.ocn.ne.jp
> >>         tomohito@rose.zero.ad.jp
> >>         tmnk@apache.org
> >>
> >>         Naka
> >>         http://www5.ocn.ne.jp/~tomohito/TopPage.html
> >>
> >> */
> >> ----- Original Message -----
> >> From: "Philip Wilder" <05...@acadiau.ca>
> >> To: "Derby Discussion" <de...@db.apache.org>
> >> Sent: Friday, August 05, 2005 2:02 AM
> >> Subject: Re: Derby locale problem?
> >>
> >>
> >>> Matt Flowers wrote:
> >>>
> >>>>I have MS IME Japanese input installed on my PC. Now when I run Derby
> >>>>it helpfully uses the Japanese language settings. Unfortunately, I
> >>>>can't read it. How do I force it to use English?
> >>>>
> >>>>(Versions: db-derby-10.1.1.0-bin, XP SP2, Java 1.4.2_07-b05)
> >>>>
> >>>>Here's a sample run:
> >>>>
> >>>>C:\devl\programs\derby\frameworks\NetworkServer\bin>startNetworkServer.bat
> >>>>サーバーは、ポート 1527 で接続を受け入れる準備ができました。
> >>>>
> >>>>I tried moving the localization jars out of the lib dir. It didn't
> >>>>work. Any ideas?
> >>>>
> >>>>-Matt Flowers
> >>>>
> >>>>
> >>>>
> >>> On a windows platform I believe that Derby picks up its locale based on
> >>> the locale chosen under Regional and Language Options in the control
> >>> panel. The simplest solution to your problem may just be to select
> >>> English (United States) from the Regional Options tab.
> >>>
> >>> Philip
> >>>
> >>>
> >>>
> >>> --
> >>> No virus found in this incoming message.
> >>> Checked by AVG Anti-Virus.
> >>> Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
> >>>
> >>>
> >>
> >>
> >> --
> >> No virus found in this outgoing message.
> >> Checked by AVG Anti-Virus.
> >> Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
> >>
> >>
> >>
> >>
> >> --
> >> No virus found in this incoming message.
> >> Checked by AVG Anti-Virus.
> >> Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
> >>
> >>
> >
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
> >
> >
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
> >
> >
> 
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
> 
>

Re: Derby locale problem?

Posted by TomohitoNakayama <to...@basil.ocn.ne.jp>.
Hello.

I remembered some more ....

Try _JAVA_OPTIONS enviroment variable when you startNetworkServer.

This may solve your problem, though it did not mine.
http://article.gmane.org/gmane.comp.apache.db.derby.devel/4638


Best regards.


/*

         Tomohito Nakayama
         tomonaka@basil.ocn.ne.jp
         tomohito@rose.zero.ad.jp
         tmnk@apache.org

         Naka
         http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/
----- Original Message ----- 
From: "TomohitoNakayama" <to...@basil.ocn.ne.jp>
To: "Derby Discussion" <de...@db.apache.org>
Sent: Friday, August 05, 2005 2:33 AM
Subject: Re: Derby locale problem?


> Mistaken ....
> 
>>convigure JDK.
> configure JDK.
> 
> Well ....
> English locale of me is not fully implemented yet :P
> 
> Best regards.
> 
> /*
> 
>         Tomohito Nakayama
>         tomonaka@basil.ocn.ne.jp
>         tomohito@rose.zero.ad.jp
>         tmnk@apache.org
> 
>         Naka
>         http://www5.ocn.ne.jp/~tomohito/TopPage.html
> 
> */
> ----- Original Message ----- 
> From: "TomohitoNakayama" <to...@basil.ocn.ne.jp>
> To: "Derby Discussion" <de...@db.apache.org>
> Sent: Friday, August 05, 2005 2:27 AM
> Subject: Re: Derby locale problem?
> 
> 
>> Hello.
>> 
>> Before, I was suffered in similar problem testing derby ....
>> Configuring locale of windows was needed to convigure JDK.
>> 
>> I think infomation in series of next mail may help you ...
>> http://thread.gmane.org/gmane.comp.apache.db.derby.devel/4615
>> http://article.gmane.org/gmane.comp.apache.db.derby.devel/4665
>> 
>> Best regards.
>> 
>> 
>> /*
>> 
>>         Tomohito Nakayama
>>         tomonaka@basil.ocn.ne.jp
>>         tomohito@rose.zero.ad.jp
>>         tmnk@apache.org
>> 
>>         Naka
>>         http://www5.ocn.ne.jp/~tomohito/TopPage.html
>> 
>> */
>> ----- Original Message ----- 
>> From: "Philip Wilder" <05...@acadiau.ca>
>> To: "Derby Discussion" <de...@db.apache.org>
>> Sent: Friday, August 05, 2005 2:02 AM
>> Subject: Re: Derby locale problem?
>> 
>> 
>>> Matt Flowers wrote:
>>> 
>>>>I have MS IME Japanese input installed on my PC. Now when I run Derby
>>>>it helpfully uses the Japanese language settings. Unfortunately, I
>>>>can't read it. How do I force it to use English?
>>>>
>>>>(Versions: db-derby-10.1.1.0-bin, XP SP2, Java 1.4.2_07-b05)
>>>>
>>>>Here's a sample run:
>>>>
>>>>C:\devl\programs\derby\frameworks\NetworkServer\bin>startNetworkServer.bat  
>>>>サーバーは、ポート 1527 で接続を受け入れる準備ができました。  
>>>>
>>>>I tried moving the localization jars out of the lib dir. It didn't
>>>>work. Any ideas?
>>>>
>>>>-Matt Flowers
>>>>
>>>>  
>>>>
>>> On a windows platform I believe that Derby picks up its locale based on
>>> the locale chosen under Regional and Language Options in the control
>>> panel. The simplest solution to your problem may just be to select
>>> English (United States) from the Regional Options tab.
>>> 
>>> Philip
>>> 
>>> 
>>> 
>>> -- 
>>> No virus found in this incoming message.
>>> Checked by AVG Anti-Virus.
>>> Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
>>> 
>>>
>> 
>> 
>> -- 
>> No virus found in this outgoing message.
>> Checked by AVG Anti-Virus.
>> Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
>> 
>> 
>> 
>> 
>> -- 
>> No virus found in this incoming message.
>> Checked by AVG Anti-Virus.
>> Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
>> 
>>
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
> 
> 
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
> 
>


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03


Re: Derby locale problem?

Posted by TomohitoNakayama <to...@basil.ocn.ne.jp>.
Mistaken ....

>convigure JDK.
configure JDK.

Well ....
English locale of me is not fully implemented yet :P

Best regards.

/*

         Tomohito Nakayama
         tomonaka@basil.ocn.ne.jp
         tomohito@rose.zero.ad.jp
         tmnk@apache.org

         Naka
         http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/
----- Original Message ----- 
From: "TomohitoNakayama" <to...@basil.ocn.ne.jp>
To: "Derby Discussion" <de...@db.apache.org>
Sent: Friday, August 05, 2005 2:27 AM
Subject: Re: Derby locale problem?


> Hello.
> 
> Before, I was suffered in similar problem testing derby ....
> Configuring locale of windows was needed to convigure JDK.
> 
> I think infomation in series of next mail may help you ...
> http://thread.gmane.org/gmane.comp.apache.db.derby.devel/4615
> http://article.gmane.org/gmane.comp.apache.db.derby.devel/4665
> 
> Best regards.
> 
> 
> /*
> 
>         Tomohito Nakayama
>         tomonaka@basil.ocn.ne.jp
>         tomohito@rose.zero.ad.jp
>         tmnk@apache.org
> 
>         Naka
>         http://www5.ocn.ne.jp/~tomohito/TopPage.html
> 
> */
> ----- Original Message ----- 
> From: "Philip Wilder" <05...@acadiau.ca>
> To: "Derby Discussion" <de...@db.apache.org>
> Sent: Friday, August 05, 2005 2:02 AM
> Subject: Re: Derby locale problem?
> 
> 
>> Matt Flowers wrote:
>> 
>>>I have MS IME Japanese input installed on my PC. Now when I run Derby
>>>it helpfully uses the Japanese language settings. Unfortunately, I
>>>can't read it. How do I force it to use English?
>>>
>>>(Versions: db-derby-10.1.1.0-bin, XP SP2, Java 1.4.2_07-b05)
>>>
>>>Here's a sample run:
>>>
>>>C:\devl\programs\derby\frameworks\NetworkServer\bin>startNetworkServer.bat  
>>>サーバーは、ポート 1527 で接続を受け入れる準備ができました。  
>>>
>>>I tried moving the localization jars out of the lib dir. It didn't
>>>work. Any ideas?
>>>
>>>-Matt Flowers
>>>
>>>  
>>>
>> On a windows platform I believe that Derby picks up its locale based on
>> the locale chosen under Regional and Language Options in the control
>> panel. The simplest solution to your problem may just be to select
>> English (United States) from the Regional Options tab.
>> 
>> Philip
>> 
>> 
>> 
>> -- 
>> No virus found in this incoming message.
>> Checked by AVG Anti-Virus.
>> Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
>> 
>>
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
> 
> 
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
> 
>


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03


Re: Derby locale problem?

Posted by TomohitoNakayama <to...@basil.ocn.ne.jp>.
Hello.

Before, I was suffered in similar problem testing derby ....
Configuring locale of windows was needed to convigure JDK.

I think infomation in series of next mail may help you ...
http://thread.gmane.org/gmane.comp.apache.db.derby.devel/4615
http://article.gmane.org/gmane.comp.apache.db.derby.devel/4665

Best regards.


/*

         Tomohito Nakayama
         tomonaka@basil.ocn.ne.jp
         tomohito@rose.zero.ad.jp
         tmnk@apache.org

         Naka
         http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/
----- Original Message ----- 
From: "Philip Wilder" <05...@acadiau.ca>
To: "Derby Discussion" <de...@db.apache.org>
Sent: Friday, August 05, 2005 2:02 AM
Subject: Re: Derby locale problem?


> Matt Flowers wrote:
> 
>>I have MS IME Japanese input installed on my PC. Now when I run Derby
>>it helpfully uses the Japanese language settings. Unfortunately, I
>>can't read it. How do I force it to use English?
>>
>>(Versions: db-derby-10.1.1.0-bin, XP SP2, Java 1.4.2_07-b05)
>>
>>Here's a sample run:
>>
>>C:\devl\programs\derby\frameworks\NetworkServer\bin>startNetworkServer.bat  
>>サーバーは、ポート 1527 で接続を受け入れる準備ができました。  
>>
>>I tried moving the localization jars out of the lib dir. It didn't
>>work. Any ideas?
>>
>>-Matt Flowers
>>
>>  
>>
> On a windows platform I believe that Derby picks up its locale based on
> the locale chosen under Regional and Language Options in the control
> panel. The simplest solution to your problem may just be to select
> English (United States) from the Regional Options tab.
> 
> Philip
> 
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03
> 
>


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 2005/08/03


Re: Derby locale problem?

Posted by Philip Wilder <05...@acadiau.ca>.
Matt Flowers wrote:

>I have MS IME Japanese input installed on my PC. Now when I run Derby
>it helpfully uses the Japanese language settings. Unfortunately, I
>can't read it. How do I force it to use English?
>
>(Versions: db-derby-10.1.1.0-bin, XP SP2, Java 1.4.2_07-b05)
>
>Here's a sample run:
>
>C:\devl\programs\derby\frameworks\NetworkServer\bin>startNetworkServer.bat  
>サーバーは、ポート 1527 で接続を受け入れる準備ができました。  
>
>I tried moving the localization jars out of the lib dir. It didn't
>work. Any ideas?
>
>-Matt Flowers
>
>  
>
On a windows platform I believe that Derby picks up its locale based on
the locale chosen under Regional and Language Options in the control
panel. The simplest solution to your problem may just be to select
English (United States) from the Regional Options tab.

Philip