操作系统如何处理不同的字符编码?
我的操作系统是中文Win10系统,因此其字符编码应该是GBK的使用,但是如果我打开了编码TXT文件的UTF-8,它仍然能够显示正常的内部汉字。但是,当我将文件放入英语Win10虚拟机中打开TXT文件时,文本显示已更改。为什么会发生这种情况?操作系统如何处理字符编码?操作系统编码和TXT文件字符编码关系是什么?
编辑:我使用记事本打开文件。 在英语系统中
My operating system is Chinese win10 system, so its character encoding should be the use of GBK, but if I open UTF-8 encoding TXT file, it is still able to display the normal inside Chinese characters. But when I put the file into an English Win10 virtual machine to open the TXT file, the text display has changed. Why is this happening? How does the operating system handle character coding? Operating system encoding and TXT file character encoding relationship is what?
edit: I use notepad to open the file.
in english system
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论