首页 > 其他分享 >Some bytes have been replaced with the Unicode substitution character while loading file

Some bytes have been replaced with the Unicode substitution character while loading file

时间:2024-10-12 14:53:19浏览次数:1  
标签:loading file -- Some bytes Unicode character

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

 

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选项去选。

 

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

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

 

标签:loading,file,--,Some,bytes,Unicode,character
From: https://www.cnblogs.com/insus/p/18460525

相关文章

  • Dockerfile(Jenkins)
    1.创建⼀个jenkins的Dockerfilemkdirtomcatcdtomcat2、上传需要的安装包apache-tomcat-8.5.47.tar.gzjdk-8u211-linux-x64.tar.gzjenkins.war3、编写DockerfilevimDockerfile#ThismyfirstjenkinsDockerfile#Version1.0FROMcentos:7MAINTAINERligaojie......
  • idea数据库图形化窗口连接数据库报错:Driver class ‘com.mysql.cj.jdbc.Driver‘ not
    报错信息在idea中数据库图形化窗口中,创建下图数据库连接点击测试连接后,发生报错:Driverclass'com.mysql.cj.jdbc.Driver'notfoundNodriverfilesprovided.报错界面:原因出现此错误的原因通常是数据库驱动程序尚未下载或未正确配置到IDEA中。解决方案......
  • 微信公众号小说漫画系统 fileupload.php 任意文件上传复现
    0x01漏洞描述:        在微信公众号小说漫画系统的fileupload.php接口中,存在任意文件上传漏洞,该漏洞允许未经身份验证的攻击者上传恶意文件,从而实现代码执行。这种安全隐患使得攻击者能够在服务器上写入后门程序,获取服务器权限,并最终控制整个Web服务器。攻击者可......
  • html input file 选择时不显示所有文件*.*
    constpickerOpts={types:[{description:"Images",accept:{"image/*":[".png",".gif",".jpeg",".jpg"],},},],excludeAcceptAllOption:true,multiple:false,};document.getElementById(&......
  • import mindnlp报错:OSError: cannot load library ‘libsndfile.so‘: libsndfile.so:
    在启智平台AI调试环境下,安装mindnlp后,importmindnlp报错。安装mindnlp命令:#安装mindnlp的daily包,待正式发布后可改为直接安装mindnlp包!pipinstallhttps://mindspore-courses.obs.cn-north-4.myhuaweicloud.com/mindnlp/mindnlp-0.4.0-py3-none-any.whl-ihttps://pypi.......
  • dockerfile中volume的用法
    当您使用VOLUME指令指定一个目录时,Docker会为该目录创建一个数据卷。这个卷可以在容器停止或删除后仍然存在DockerfileFROMubuntu:latest#创建一个数据卷VOLUME["/data"]CMD["sleep","3600"]构建镜像,并运行容器dockerbuild-tubuntu:test1.dockerrun-itd......
  • 如何删除或减少pagefile.sys?
    您是否曾在计算机上遇到过一个名为pagefile.sys的超大文件?许多Windows用户想知道pagefile.sys的用途以及如何在不影响系统性能的情况下有效地管理它。本文将帮助您了解pagefile.sys是什么、它为什么会变大以及如何安全地管理它的大小。什么是pagefile.sys?在Win......
  • [1067] Add comments for files in Windows
    CreateashortcutofthefilePressandholdthe[Alt]keyLeftclickmouseandDragtheselectedfolders/itemstoa"freespace"andreleaseMousebuttonnowyouhavecreatedshortcutsOpenthepropertiesofthefileshortcut,thencanaddt......
  • Openfiler2.99.1安装
    目录配置SSH创建LVM参考即使有提示网页的地址,但用浏览器是打不开的配置SSH#方法1rambo@p360:~$ssh-oHostKeyAlgorithms=+ssh-rsa-oPubkeyAcceptedKeyTypes=+ssh-rsaroot@172.16.186.133#方法2vim~/.ssh/config专门为172.16.186.133启用......
  • 使用VS2022 Performance Profiler进行Native内存分析
    注:勾选MemoryUsage进行Native内存抓取 不带pdb要进行Native内存抓取点击Start按钮开始进行内存分析 点击“StopCollection”按钮,来结束Profile。 注:如果报如下错误:Failedtoloadmemoryusageview: System.NullReferenceException,需要将VS2022升级到最新或使用VS......