List of locales in Windows

前端 未结 2 1512
醉酒成梦
醉酒成梦 2020-12-19 08:08

On *nix systems you can do locale -a to get a list of available locales.

What is the equivalent command (or action) in Windows?

I\'ve seen lists

2条回答
  •  鱼传尺愫
    2020-12-19 08:32

    This page seems to contain links to lists of language and country/region that the WIN32 setlocale recognizes. However:

    The set of available languages, country/region codes, and code pages includes all those supported by the Win32 NLS API except code pages that require more than two bytes per character, such as UTF-7 and UTF-8. If you provide a code page like UTF-7 or UTF-8, setlocale will fail, returning NULL.

    fail.

提交回复
热议问题