db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Hillegas <rick.hille...@oracle.com>
Subject Re: ij encoding
Date Fri, 10 Oct 2014 12:48:59 GMT
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-\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,

View raw message