Are regional settings supported in Wine?

gerard patel g.patel at
Sat Sep 1 11:04:35 CDT 2001

On Thu, 30 Aug 2001 07:32:00 +1000, Ewing Jeff <jeff.ewing at>

>Are reqional settings supported or planned to be supported in

Theoretically they are supported.

>. Attempting to use the application "Vantive" written by 
>the Vantive corporation. Attempting to run the application without
>any windows code. Exported the windows registry using regedit to 
>userdef.reg. Exported code 'disappears' from this file.
>Wine Version:  0.0.20010824-1
>Linux kernel 2.4.6, Debian Unstable distribution.
>Error message from wine:
>err:region:CombineRgn Invalid rgn=1092
>err:region:CombineRgn Invalid rgn=1092

This is most probably not related to regional settings, but
it can be a *very* bad error nonetheless. In this context
'region' means a different thing, it is a GDI (Graphic
Device Interface) concept designating an area of
the screen.
I think that your app is probably not working because
of this 'region' problem...

>Error message from vantive:
>Please note that your Regional Settings are not set to
>English(Australia). This may affect certain date functions...

Wine can use the registry to get at user defined regional
settings. But if the app ask to not access user defined
regional settings, Wine will use the system defaults,
defined in the relevant file in dlls/kernel/nls, the relevant
file being selected by what the app is wanting.

Usually the regional parameters the app will ask can be
determined (indirectly) by several environments variables
of the U*x user, see GetUserDefaultLangID routine in 

Run with -debugmsg +relay,+string in case of doubt.
Watch for the calls to GetLocaleInfo


More information about the wine-users mailing list