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 Vitaliy <ti...@gmail.com> on 2014/10/09 18:51:04 UTC

ij encoding

Hello!

I'm new with Derby, trying to start the ij with proper encoding. Ij wants
to use default locale in my OS, but I would rather prefer using an english
locale.

I start ij with the command:
java -Dderby.ui.locale=en -Dderby.ui.codeset=utf8 -jar
E:\...\db-derby-10.11.1.1-bin\lib\derbyrun.jar

Derby answers:

╚ёяюы№чютрэшх:
java -jar derbyrun.jar ij [-p Їрщы_ётющёЄт] [ёЎхэрЁшщ sql]
java -jar derbyrun.jar sysinfo [-cp ...] [-cp help]
java -jar derbyrun.jar dblook [рЁуєьхэЄ√] (шыш схч рЁуєьхэЄют, ўЄюс√
т√чтрЄ№ шэЇюЁьрЎш■ юс шёяюы№чютрэшш)
java -jar derbyrun.jar server [рЁуєьхэЄ√] (шыш схч рЁуєьхэЄют, ўЄюс√
т√чтрЄ№ шэЇюЁьрЎш■ юс шёяюы№чютрэшш)

I don't know if you guys see the same that I see, but it looks like
unsuccessful attempt to use the Cyrillic encoding (that's why I want to use
the english locale). So how to force ij to use the english locale and
appropriate encoding (utf8 or Latin).

Thanks!



Vitaliy

Re: ij encoding

Posted by Rick Hillegas <ri...@oracle.com>.
On 10/9/14 9:51 AM, Vitaliy wrote:
> Hello!
>
> I'm new with Derby, trying to start the ij with proper encoding. Ij 
> wants to use default locale in my OS, but I would rather prefer using 
> an english locale.
>
> I start ij with the command:
> java -Dderby.ui.locale=en -Dderby.ui.codeset=utf8 -jar 
> E:\...\db-derby-10.11.1.1-bin\lib\derbyrun.jar
>
> Derby answers:
>
> ╚ёяюы№чютрэшх:
> java -jar derbyrun.jar ij [-p Їрщы_ётющёЄт] [ёЎхэрЁшщ sql]
> java -jar derbyrun.jar sysinfo [-cp ...] [-cp help]
> java -jar derbyrun.jar dblook [рЁуєьхэЄ√] (шыш схч рЁуєьхэЄют, ўЄюс√ 
> т√чтрЄ№ шэЇюЁьрЎш■ юс шёяюы№чютрэшш)
> java -jar derbyrun.jar server [рЁуєьхэЄ√] (шыш схч рЁуєьхэЄют, ўЄюс√ 
> т√чтрЄ№ шэЇюЁьрЎш■ юс шёяюы№чютрэшш)
>
> I don't know if you guys see the same that I see, but it looks like 
> unsuccessful attempt to use the Cyrillic encoding (that's why I want 
> to use the english locale). So how to force ij to use the english 
> locale and appropriate encoding (utf8 or Latin).
>
> Thanks!
>
>
>
> Vitaliy
Hi Vitaliy,

Try -Dderby.ui.locale=en_US. On my English language laptop, I still get 
English when I specify -Dderby.ui.locale=de, but I get German when I add 
the country code: -Dderby.ui.locale=de_DE

Hope this helps,
-Rick

Re: ij encoding

Posted by tikskit <ti...@gmail.com>.
Setting param for JVM has helped:
-Duser.language=en -Duser.region=US -Dderby.ui.locale=en
-Dderby.ui.codeset=utf8

thank you!



--
View this message in context: http://apache-database.10148.n7.nabble.com/ij-encoding-tp142794p142831.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.

Re: ij encoding

Posted by John English <jo...@gmail.com>.
On 09/10/2014 19:51, Vitaliy wrote:
> Hello!
>
> I'm new with Derby, trying to start the ij with proper encoding. Ij wants to use
> default locale in my OS, but I would rather prefer using an english locale.
>
> I start ij with the command:
> java -Dderby.ui.locale=en -Dderby.ui.codeset=utf8 -jar
> E:\...\db-derby-10.11.1.1-bin\lib\derbyrun.jar

Perhaps also try "-Dfile.encoding=UTF-8" or some such?
-- 
John English