这个看不见的角色是什么?

What is this invisible character?

我的代码中有包含不可见字符的字符串。看下面的字符串,不可见字符在 m 和最后一个双引号之间。

我想知道
a) 这是什么?
b) 如何检测这些?

我已经尝试了 "draw_white_space": "all" 偏好设置和插件 TrailingSpaces 但他们没有透露它们。

"com"

不可见字符为UnicodeU+FEFF - ZERO WIDTH NO-BREAK SPACE. I've written a plugin to find and highlight zero-width characters. For your case, replace '\u200b' with '\ufeff' in the linked code and you should be all set. If one or more of those characters are in your text, they will be highlighted with the invalid scope (example using Neon Color Scheme and IPython running in SublimeREPL):

(注意 m 后的深红色线)。