in reply to Re: uparse - Parse Unicode strings
in thread uparse - Parse Unicode strings
Wow, very impressive! ... agree with kcott that it deserves its own CUFP page.
I played briefly with your command on Ubuntu using perl v5.38:
~/pm/Tux$ perl -CEO -wE'say "\x{1F468}\x{1F3FD}\x{200D}\x{2708}\x{FE0F}"' 👨🏽✈️ ~/pm/Tux$ echo -e '\U1F468\U1F3FD\U200D\U2708\UFE0F' 👨🏽✈️
AFAICT, the output from the perl -CEO and the bash echo -e commands above is identical, namely:
👨🏽‍✈️
Running this command produced useful output (that seems to match yours), despite the error messages:
~/pm/Tux$ echo -e '\U1F468\U1F3FD\U200D\U2708\UFE0F' | xargs uchar -v Can't exec "locate": No such file or directory at ~/pm/Tux/uchar line 103. 👨 U1f468 \N{MAN} 🏽 U1f3fd \N{EMOJI MODIFIER FITZPATRICK TYPE-4} U0200d \N{ZERO WIDTH JOINER} ✈ U02708 \N{AIRPLANE} ️ U0fe0f \N{VARIATION SELECTOR-16}
Using CODE blocks intead of pre:
~/pm/Tux$ echo -e '\U1F468\U1F3FD\U200D\U2708\UFE0F' | xargs uchar -v Can't exec "locate": No such file or directory at ~/pm/Tux/uchar line +103. 👨 U1f468 \N{MAN} 🏽 U1f3fd \N{EMOJI MODIFIER FITZPATRICK TYPE-4} ‍ U0200d \N{ZERO WIDTH JOINER} ✈ U02708 \N{AIRPLANE} ️ U0fe0f \N{VARIATION SELECTOR-16}
👁️🍾👍🦟
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: uparse - Parse Unicode strings
by Tux (Canon) on Nov 20, 2023 at 08:54 UTC | |
by eyepopslikeamosquito (Archbishop) on Dec 02, 2023 at 10:07 UTC | |
by hippo (Archbishop) on Dec 02, 2023 at 10:51 UTC | |
by afoken (Chancellor) on Dec 02, 2023 at 12:50 UTC | |
by Tux (Canon) on Dec 02, 2023 at 14:52 UTC | |
by kcott (Archbishop) on Dec 02, 2023 at 11:01 UTC | |
by eyepopslikeamosquito (Archbishop) on Nov 20, 2023 at 11:57 UTC |