in reply to uparse - Parse Unicode strings
Brilliant work kcott!
Everything I've tested so far works like a charm on my Ubuntu Linux VM (running perl v5.38.0 built from source as described here).
A lot more convenient than the crude hack I was using, namely to click on the little xml link on a post to see the decimal values of the Unicode emojis. For example, clicking on the xml link on your post now allows me to see:
... difficult to tell them apart; e.g. <tt>🧑</tt> & <tt>ԁ +04;</tt>.
which I can then crudely translate back and forth between hex and decimal via one liners such as:
C:\> perl -e "printf q{%X}, 129489" 1F9D1 C:\> perl -e "printf q{%d}, 0x1F9D1" 129489
That was working fine until the Discipulus posted an emoji to me in the Chatterbox the other day ... and, oops, there was no xml link to click on! :)
👁️🍾👍🦟
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: uparse - Parse Unicode strings
by kcott (Archbishop) on Nov 18, 2023 at 15:15 UTC | |
by eyepopslikeamosquito (Archbishop) on Nov 19, 2023 at 07:06 UTC | |
by kcott (Archbishop) on Nov 19, 2023 at 11:05 UTC | |
by eyepopslikeamosquito (Archbishop) on Nov 19, 2023 at 12:11 UTC | |
by kcott (Archbishop) on Nov 19, 2023 at 12:56 UTC |