jless icon indicating copy to clipboard operation
jless copied to clipboard

Show actual character instead of escaped code point notation (`\u****`) in string literals

Open TonalidadeHidrica opened this issue 2 years ago • 1 comments

As a Japanese user I common encounter with JSON files with a plethora of "\u65e5\u672c\u8a9e" which are hexadecimal escape sequences of Unicode code points. It would be nice if jless automatically parses them to show the actual string that they refer to.

TonalidadeHidrica avatar Apr 30 '22 18:04 TonalidadeHidrica

I've encountered this same issue, and implemented this feature in a fork: https://github.com/JubilantJerry/jless_unicode But I'm not much of a Rust programmer so my implementation is probably a kludge. I only tested the bare minimum functionality. I agree that the main repo could consider adding this feature.

JubilantJerry avatar Aug 21 '23 09:08 JubilantJerry