遭遇下列VS2010错误: Some bytes have been replaced with the Unicodesubstitution character while loading file base64.cpp with ChineseSimplified (GB2312) encoding. Saving the file will not preserve theoriginal file contents. 我的Visual Studio已经勾选了Auto-detect UTF-8 encoding withoutsignature: Ultraedit不能正常显示base64.cpp,但Sublime Text能正常显示。 原因是base64.cpp并不是UTF-8编码,但是包含一个十六进制为"E9"的字符,即带重音符的e。由于我的系统locale是RPC,所以显示不正常,估计系统locale改成CP1252 - Windows 拉丁语1代码页就可以了。用Sublime Text将其转存为UTF-8编码当然也可以。