Re: gcc can't process some utf-8 characters

2021-01-13 Thread Liu Hao via Gcc
在 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

gcc can't process some utf-8 characters

2021-01-13 Thread 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: "[Error] converting to execution character set: Ille