g++ curly quotes displayed incorrectly in console and “Problems” list

前端 未结 4 1934
臣服心动
臣服心动 2021-02-15 13:45

Recently, I switched from Visual Studio to Eclipse CDT. I\'ve set it up beautifully such that the G++ compiler from my Cygwin installation can locate and compile my code without

4条回答
  •  北海茫月
    2021-02-15 14:28

    Yep, you either have to get Eclipse to display UTF-8, or to stop Cygwin gcc from using it. I don't know how to do the former, but you can do the latter by making sure that gcc is run with something like LANG=en_US.ISO-8859-1.

提交回复
热议问题