在 2021/1/14 上午9:47, Roy Qu via Gcc 写道:
> I use "gcc -finput-charset=utf-8 -fexec-charset=gb2312" to compile utf-8
> encoding source files under windows. Most of the time it works well, but
> when the source file contains some characters such as "—", gcc will fail
> and the error message is: "[Err
I use "gcc -finput-charset=utf-8 -fexec-charset=gb2312" to compile utf-8
encoding source files under windows. Most of the time it works well, but
when the source file contains some characters such as "—", gcc will fail
and the error message is: "[Error] converting to execution character set:
Ille