Wine and locales

Filip Navara xnavara at volny.cz
Thu Jul 29 10:47:33 CDT 2004


Dmitry Timoshkov wrote:

>We should not complicate things, especially since it's not clear at all
>what APIs are affected by system/user locale differences.
>
System locale affects

- String comparsions
  (IntlStrEqWorker[AW], lstrcmp[AW], lstrcmpi[AW])
  Uses system locale after trying thread locale (which is
  derived from user locale on thread creation).

- Resource loading
  (FindResource & friends)
  Uses system locale after trying Default UI Language (see
  GetSystemDefaultUILanguage and GetUserDefaultUILanguage
  or NtQueryDefaultLanguage) and user locale.

- Input locale identifier
  The thread default input language for system applications
  (that are started before user logins) is derived from the
  system locale setting. This probably isn't relevant for
  Wine.

And if you ask, no, I will not write a testcase, because it's
sometimes hard for me to even understand the problems caused
by different locales.

Regards,
Filip




More information about the wine-devel mailing list