Getting a language for non-Unicode programs

Does anyone know how to programmatically use the value "Language for non-Unicode programs" in the regional settings of the control panel using C #?

Already tried CultureInfo, RegionInfo and get the default encoding using the Encoding object, but I can only get the Standards and Formats value or the main page of the code.

+3
source share
3 answers

The NLS Terminology internationalization page for Windows applications has the answer:

ANSI , Unicode, . GetACP GetOEMCP, . , .

GetACP ANSI (, 1252 ), GetOEMCP " OEM " " ( , , 437 ).

Windows.

+1

IIRC, Thread.CurrentUICulture .

0

Source: https://habr.com/ru/post/1698466/


All Articles