kernel32: Handle neutral locale names better in GetLocaleInfoEx

Nikolay Sivov nsivov at
Mon Aug 27 00:29:06 CDT 2012

On 8/27/2012 07:20, Dmitry Timoshkov wrote:
> Hi,
> Are you sure that GetLocaleInfo can't handle these cases on its own?
I already added a test for that - for neutral LCID for English for 
example it still returns en-US as locale name and the rest of the locale 
entries I tested are from US locale as well.

Regarding GetLocaleInfoEx - for neutral names it returns neutral locale 
name for LOCALE_SNAME index, however the rest of the data is still 
non-neutral. This mapping applies to LocaleNametoLCID too, it returns 
non-neutral LCID for neutral names.

More information about the wine-devel mailing list