create characters from unicode sequence
Posted: 26 Aug 2017, 17:29
My JSON parser perceives unicode escape sequences (\uxxxx) of course as single characters. However I would like to display the actual character which seems not possible to me right now. Code like "\uxxxx" yields as "Incorrect escape sequence".
I could imagine something like
(The first two of course unrelated to this issue, but probably handy).
Is there some existing way of doing this?
I could imagine something like
Code: Select all
TextLib {
Ord :: Text => Integer
Chr :: Integer => Text
OrdUnicode :: Text => Text
ChrUnicode ::Text => Text
}
Is there some existing way of doing this?