Pregunta

Do region and language selections in the Windows OS actually have a set of characters associated to them?

When you use the CultureAndRegionalInfoBuilder class to register a new culture to the system, the only characters associated to your new culture that you can set are the native digits. I need to register an obscure language that uses UTF-8 characters that don't exist in the languages that come packaged with Windows or in any of the language packs. I'm uncertain about the internals of Windows culture definitions and whether or not a character set is stored with them. My assumption is that the culture definition does nothing more than let you specify the native digits and various formats used in that culture and give applications a mechanism for localization and formatting and that it really has nothing to do with a specified character set. Can someone tell me if my assumption here is correct.

¿Fue útil?

Solución

Your assumption is correct; the custom culture created by CultureAndRegionalInfoBuilder does not define a set of characters used by the language.

Out of curiosity, what language do you want to support?

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top