VS Code,版权符号©显示为 ,另存为�或 . [英] VS Code, copyright symbol © shown as � and saved as � or �
问题描述
在我的html源代码中,我有一些特殊的符号,例如版权<meta content="© Copyright... />
对于某些文本编辑器,它们可以如上正确显示,但是在VS Code上,我将其显示为.在保存文件后,该符号在其他编辑器中将显示为�和.
如果我将©明确粘贴到VS Code上并保存,然后在另一个文本编辑器上将其另存为©.
我该如何解决?我该怎么办?
确保文件的编码设置为可以准确显示符号的内容(例如UTF-8):
这可以在程序的右下角状态栏中找到.
请参阅文件编码支持上的文档.
In my html source code I have some special symbols like the copyright one <meta content="© Copyright... />
For some text editors these are shown correctly as above, but on VS Code I see it as � and after I save the file, the symbol will be shown as � and � on other editors.
If I explicitly paste the © on VS Code and save it, then on another text editor it will be saved as ©.
How can I solve this? What should I do?
Ensure your file's encoding is set to something which can accurately display the symbol (like UTF-8):
This can be found in the bottom right of the program in the status bar.
See their documentation on File Encoding Support.
这篇关于VS Code,版权符号©显示为 ,另存为�或 .的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!