我不知道这些选项的实际效果如何(不使用atm;我仍然更喜欢将字符串文字视为“仅ASCII”,因为本地化的字符串无论如何都来自外部文件,因此大多是格式字符串或文件名之类的东西),但是它们添加了诸如
-fexec-charset=charsetSet the execution character set, used for string and character constants. The defaultis UTF-8. charset can be any encoding supported by the system's iconv library routine.-fwide-exec-charset=charsetSet the wide execution character set, used for wide string and character constants.The default is UTF-32 or UTF-16, whichever corresponds to the width of wchar_t. Aswith -fexec-charset, charset can be any encoding supported by the system's iconvlibrary routine; however, you will have problems with encodings that do not fitexactly in wchar_t.-finput-charset=charsetSet the input character set, used for translation from the character set of theinput file to the source character set used by GCC. If the locale does not specify,or GCC cannot get this information from the locale, the default is UTF-8. This canbe overridden by either the locale or this command line option. Currently the commandline option takes precedence if there's a conflict. charset can be any encodingsupported by the system's iconv library routine.



