如何删除杂散的â\302â在 C++ ?
如何在 C++ 中删除杂散“302”?
我不想通过点击删除按钮将它们一一删除。
谢谢
How to remove stray â\302â in C++ ?
I do not want to remove them one by one by hitting delet button.
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你不知道。您可以使用 libiconv 或 ICU 之类的工具将 UTF-8 文本 转换为您想要的字符集可以理解。
You don't. You use something such as libiconv or ICU to convert the UTF-8 text to a charset you can understand.
由于OP目前的帖子被标记为 vi 我假设 OP 正在寻找一种方法来删除此编辑器中的所有字符(八进制值为 3028)。
上面的命令将在整个文件中搜索八进制值
\302
并用空字符串替换每个实例。Since the post by OP currently is tagged with vi I assume that OP is looking for a way to delete all characters (with a octal value of 3028) from within this editor.
The above command will search the whole file for the octal value
\302
and replace every instance with an empty string.