create characters from unicode sequence

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
Posts: 205
Joined: 15 Jun 2010, 17:56

create characters from unicode sequence

Post by zocka » 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

Code: Select all

TextLib {
	Ord :: Text => Integer
	Chr :: Integer => Text
	OrdUnicode :: Text => Text
	ChrUnicode ::Text => Text
(The first two of course unrelated to this issue, but probably handy).

Is there some existing way of doing this?
manialink minigame shatter
my manialink: zockaml
my maniaflash: maniaflash?zocka

Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 2 guests