Vim 显示奇怪的Â腻子上的字符

发布于 2024-10-18 05:33:18 字数 211 浏览 10 评论 0原文

当我在 Vim 中编辑文件时,我有一些行带有一堆 显示 的 。

我已经检查了编码,

:set encoding

它说 utf8

encoding=utf8

任何人都知道这是从哪里来的以及如何停止 这种行为?

问候,

杰里米

When I am editing a file in Vim I have some lines with a bunch
of  displayed.

I have already checked the encoding with

:set encoding

It says utf8

encoding=utf8

Anybody knows where this is comming from and how to stop
this behaviour?

Regards,

Jeremy

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

人生戏 2024-10-25 05:33:18

确保 PuTTY 也设置为 UTF-8。您可以在窗口 -> 下执行此操作翻译->远程字符集。您可能还需要选择一种支持 Unicode 范围合理部分的字体——终端不一定会删除它。

Make sure that PuTTY is set for UTF-8 as well. You can do this under Window -> Translation -> Remote Character Set. You may need to choose a font that supports a reasonable portion of the Unicode range as well -- Terminal isn't necessarily going to cut it.

云胡 2024-10-25 05:33:18

当您输入英镑符号时它会出现吗?尝试更改您的编码:

:set encoding=latin1

Does it appear when you type the British Pound symbol? Try changing your encoding:

:set encoding=latin1
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文