Why some characters are marked out?

I m working on a game i18n file. Some chars are being marked out automatically.

Can somebody explain the reason? It looks like I’m doing a search on the document but as you may see from my screenshot, the char(s) are not the same and I am not doing a search at all. It’s so weird.

a

New to cursor and already subscribed, thanks for the great app and thanks for any kind of tips!

Hey, this happens when some characters differ from UTF-8, especially in multilingual files. Try setting "editor.unicodeHighlight.ambiguousCharacters": false in the settings to disable the highlighting of such characters.

2 Likes

also, to note that, ambiguous characters; character map allow lists are not allowed because they cause confusion and often miinterpreted which is it itself a precursor or malicious activity perhaps. Different characters belong to different character sets and libraries over different languages and encodings etc.

1 Like

Impressive. Thanks for your fast reply! <3

1 Like