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

前端 未结 4 1875
臣服心动
臣服心动 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:04

    It worked for me too. The environment variable need to be set in the Eclipse preferences window under C/C++/Build/Environment. You need to add a new variable by clicking on the Add button. The variable name should be set to LANG and the value to en_US.ISO-8859-1. Does anyone know what is the cause of the problem? Cygwin, Eclipse, gcc???

提交回复
热议问题