error: stray '\302' in program

后端 未结 8 1124
谎友^
谎友^ 2021-01-17 16:11

I\'m using Code::Blocks on Ubuntu 10.10. I have connected a Mac keyboard and set the keyboard settings to \"Swiss German Mac\". Now whenever I write an equals sign, followed

8条回答
  •  爱一瞬间的悲伤
    2021-01-17 16:45

    '\302' is C notation for the octal number 3028, which equals C216 and 19410. So it's not ASCII.

    Which character it maps to depends on the encoding. In Latin-1, it's the  character, for instance.

提交回复
热议问题