Listing 9. setlocale function.
清单9 . setlocale函数。
The setlocale (LC_CTYPE, ) function must be called to set the locale according to the environment variables first.
首先必须调用setlocale (LC_CTYPE,“ ”)函数,依据环境变量设置语言环境。
The setlocale call determines the character set, error messages catalogs, monetary value formatting, numerical conventions, string collation, and alphabetic ordering.
可以调用setlocale来确定字符集、错误消息类别、货币值格式、数字转换、字符串校勘和字母排序。
应用推荐