josdejong / svelte-jsoneditor

A web-based tool to view, edit, format, repair, query, transform, and validate JSON
https://jsoneditoronline.org
Other
814 stars 108 forks source link

Unicode and invisible characters #409

Open AlexRMU opened 4 months ago

AlexRMU commented 4 months ago

Samples

When working with unicode (that is, almost any text), you need to remember many things. Here are a few of them:


Everything seems to be fine with this in the editor now. I suggest:

josdejong commented 4 months ago

Would be nice indeed to render invisible characters in a visual way.

Anyone interested in looking into this? Help would be welcome.

AlexRMU commented 4 months ago

https://invisible-characters.com/ https://github.com/microsoft/vscode/blob/19ecb4b8337d0871f0a204853003a609d716b04e/src/vs/base/common/strings.ts#L1228 https://github.com/hediet/vscode-unicode-data/tree/main/invisible-character-generator