You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working with unicode (that is, almost any text), you need to remember many things. Here are a few of them:
Invisible characters Invisible characters can behave differently on different devices, browsers, and fonts. They are usually invisible, but they still take up space.
"឴"!="";"_឴_"!="__";
That's how they are highlighted in the VS Code:
Combining character and cursed strings
The display of the combining character depends on many factors. They can often display strangely and break the interface and styles.
This is how they are currently displayed in the editor:
Samples
When working with unicode (that is, almost any text), you need to remember many things. Here are a few of them:
Invisible characters
Invisible characters can behave differently on different devices, browsers, and fonts. They are usually invisible, but they still take up space.
That's how they are highlighted in the VS Code:
Combining character and cursed strings
The display of the combining character depends on many factors. They can often display strangely and break the interface and styles.
This is how they are currently displayed in the editor:
That's how they are displayed in the VS Code:
Surrogate couples and normalization
https://en.wikipedia.org/wiki/Unicode_equivalence
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize
Before and after formatting:
Everything seems to be fine with this in the editor now.
I suggest:
The text was updated successfully, but these errors were encountered: