为检测当前语言环境是否使用了 UTF-8 编码。
例如,字符类[:punct:]表示当前语言环境中的所有标点字符。
For instance, the character class [: punct:] stands for all punctuation characters in the current locale.
您可以用命令locale charmap查询当前语言环境中字符编码的名称。
You can query the name of the character encoding in your current locale with the command locale charmap.
应用推荐