Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在一个 C 项目上工作并继续另一个小组的工作,当我打开源文件时,使用代码块有不可读的字符。例如:
printf("Îļþ´ò¿ªÊ§°Ü!") ;
我更改了编辑器的设置并将编码设为 utf-8,但仍然相同。
也许您没有使用适当的编码。您可以使用命令“file”在 linux shell 中检查字符集:
file -bi [filename]