翼度科技»论坛 编程开发 .net 查看内容

Some bytes have been replaced with the Unicode substitution character

5

主题

5

帖子

15

积分

新手上路

Rank: 1

积分
15
需要修改一较旧的网页代码,当打开时,却出现异常提示:

 
  1. Some bytes have been replaced with the Unicode substitution <br>character while loading file 【文档路径】 with <br>Unicode(UTF-8) encoding. Saving the file will not preserve the <br>original file contents.<br><br>
复制代码
点“OK”,文档是可以打开,但是一些中文不能正常显示,如下箭头所指。
 
  1. 如何办? 新建与较新的文档却没有这种情况。说明确定开发的电脑是支持UTF-8的。<br>不过,还是得检查电脑的设置。<br>打开Control Planel--> Clock and Region --> Region --> open "Administrative" tab --><br>click "Change system locale..." button -->
复制代码


把上面的Beta: Use Unicode UTF-8 for worldwide language support选项去选。

 
系统提示重启,设置才会生效。

再次打开文档,显示正常:



 

来源:https://www.cnblogs.com/insus/p/18460525
免责声明:由于采集信息均来自互联网,如果侵犯了您的权益,请联系我们【E-Mail:cb@itdo.tech】 我们会及时删除侵权内容,谢谢合作!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

举报 回复 使用道具