Re: kernel: fix determination of using locale

2006-04-22 Thread Sergei Butakov
1)On Wednesday 19 April 2006 15:00, Alexandre Julliard wrote: > I'm not sure why you expect LC_CTYPE to set the user locale. LC_CTYPE > defines the locale used for character conversions, and that's what > Wine does by setting the system locale. The user locale affects things > like resource loading

Re: kernel: fix determination of using locale

2006-04-19 Thread Sergei Butakov
On Tuesday 18 April 2006 16:11, Alexandre Julliard wrote: > Sergei Butakov <[EMAIL PROTECTED]> writes: > > Here > > 2. - this set value of user_lcid > > 4. - this set value of system_lcid > > system_lcid affect on some part of Wine, user_lcid affect on other one. > > Thereby only some part of Wine

Re: kernel: fix determination of using locale

2006-04-19 Thread Alexandre Julliard
Sergei Butakov <[EMAIL PROTECTED]> writes: > If somebody want to use different values of user and system locales in Wine > he > must set LC_CTYPE for system_lcid, LANG for user_lcid and unset LC_ALL. (Is > it > really anybody use different values?) > Most users don't know about it, don't want

Re: kernel: fix determination of using locale

2006-04-18 Thread Sergei Butakov
On Tuesday 18 April 2006 09:39, Dmitry Timoshkov wrote: > "Sergei Butakov" <[EMAIL PROTECTED]> wrote: > > If set > > # export LANG="POSIX" > > # export LC_CTYPE="ru_RU.CP1251" > > system_lcid (defined by LC_CTYPE) will be "ru_RU.CP1251"; > > user_lcid (defined by LANG) will be "en_US" - It's bug an

Re: kernel: fix determination of using locale

2006-04-18 Thread Alexandre Julliard
Sergei Butakov <[EMAIL PROTECTED]> writes: > Here > 2. - this set value of user_lcid > 4. - this set value of system_lcid > system_lcid affect on some part of Wine, user_lcid affect on other one. > Thereby only some part of Wine is defined by LC_CTYPE: Well, yes, the point is that you can have u

Re: kernel: fix determination of using locale

2006-04-18 Thread Dmitry Timoshkov
"Sergei Butakov" <[EMAIL PROTECTED]> wrote: So any program must check variables in that order: LC_ALL, LC_CTYPE, LANG. (First check LC_ALL. If LC_ALL defined then stop, if not defined then check LC_CTYPE. If LC_CTYPE defined then stop, if not defined then check LANG) In Wine system_lcid defin

Re: kernel: fix determination of using locale

2006-04-17 Thread Dmitry Timoshkov
"Sergei Butakov" <[EMAIL PROTECTED]> wrote: If set # export LANG="POSIX" # export LC_CTYPE="ru_RU.CP1251" system_lcid (defined by LC_CTYPE) will be "ru_RU.CP1251"; user_lcid (defined by LANG) will be "en_US" - It's bug and it's visible in programs for Windows. That's correct IMO, LANG takes t

Re: kernel: fix determination of using locale

2006-04-17 Thread Sergei Butakov
On Monday 17 April 2006 10:04, Dmitry Timoshkov wrote: > I mean LANG="ru_RU.CP1251", LC_MESSAGES="en_US". Your intent is to avoid > russian menus and messages, right? Not fully. The equivalent of # export LANG="POSIX" # export LC_CTYPE="ru_RU.CP1251" # export LC_COLLATE="r

Re: kernel: fix determination of using locale

2006-04-17 Thread Sergei Butakov
On Sunday 16 April 2006 19:04, Dmitry Timoshkov wrote: > Probably you just need to set LC_MESSAGES to en_US. Do you mean # export LANG="POSIX" # export LC_CTYPE="ru_RU.CP1251" # export LC_COLLATE="ru_RU.CP1251" # export LC_MESSAGES="en_US" ? That's don't work. Be

Re: kernel: fix determination of using locale

2006-04-16 Thread Dmitry Timoshkov
"Sergei Butakov" <[EMAIL PROTECTED]> wrote: Probably you just need to set LC_MESSAGES to en_US. Do you mean # export LANG="POSIX" # export LC_CTYPE="ru_RU.CP1251" # export LC_COLLATE="ru_RU.CP1251" # export LC_MESSAGES="en_US" ? That's don't work. I mean LANG="ru

Re: kernel: fix determination of using locale

2006-04-16 Thread Dmitry Timoshkov
"Sergei Butakov" <[EMAIL PROTECTED]> wrote: This patch fix for me two bugs: 1. I'm using locale # export LANG="POSIX" # export LC_CTYPE="ru_RU.CP1251" # export LC_COLLATE="ru_RU.CP1251" with which in many programs some Russian glyphs look wrong or as square. 2. in many programs English/Russian g