网站首页 全球最实用的IT互联网站!

人工智能P2P分享Wind搜索发布信息网站地图标签大全

当前位置:诺佳网 > 软件工程 > 后端开发 > .Net >

Some bytes have been replaced with the Unicode substitution

时间:2024-10-12 14:44

人气:

作者:admin

标签:

导读:需要修改一较旧的网页代码,当打开时,却出现异常提示: Some bytes have been replaced with the Unicode substitution character while loading file 【文档路径】 with Unicode(UTF-8) encodin...

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

 

Some bytes have been replaced with the Unicode substitution 
character while loading file 【文档路径】 with
Unicode(UTF-8) encoding. Saving the file will not preserve the
original file contents.

点“OK”,文档是可以打开,但是一些中文不能正常显示,如下箭头所指。

 

如何办? 新建与较新的文档却没有这种情况。说明确定开发的电脑是支持UTF-8的。
不过,还是得检查电脑的设置。
打开Control Planel--> Clock and Region --> Region --> open "Administrative" tab -->
click "Change system locale..." button -->


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

 

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

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

 

温馨提示:以上内容整理于网络,仅供参考,如果对您有帮助,留下您的阅读感言吧!
相关阅读
本类排行
相关标签
本类推荐

CPU | 内存 | 硬盘 | 显卡 | 显示器 | 主板 | 电源 | 键鼠 | 网站地图

Copyright © 2025-2035 诺佳网 版权所有 备案号:赣ICP备2025066733号
本站资料均来源互联网收集整理,作品版权归作者所有,如果侵犯了您的版权,请跟我们联系。

关注微信