Unicode, Perl 6, and You
perl6advent.wordpress.com
perl6advent.wordpress.com
Will it provide \X for example? (\X matches extended grapheme cluster.)
> am I missing any languages that do?
Swift is one notable example. It has built-in and simple enough grapheme handling.
Given the rate at which JavaScript is converging on a really nice set of modern features and is having warts removed and performance is accelerating, I wonder if any other language is as relevant long-term.
Tcl supported Unicode in 1999 with version 8.1. Much like Zathras, Tcl is the beast of burden that is easy to overlook.
https://www.mikeash.com/pyblog/friday-qa-2015-11-06-why-is-s...
I've always loved the "everything's bigger in Texas" joke implicit inthe "texas" variant on some operators.
> If you’re interested in working within a particular normalization, there’s the self-explanatory types of NFC, NFD, NFKC, and NFKD.
That would probably be better with a "Well, it's self explanatory at the point you know you want to work in a particular normalization", since I only vaguely know what those are, and I've beenhearing about some of them for years. ;)
Great post though!
How is "नि" 3 codepoints? There is only two: न and ि . Could this be a bug?
$ perl6 -e 'say "नि".codes'
2 say "नि".NFC>>.uniname.perl;
#=> ("DEVANAGARI LETTER NA", "DEVANAGARI VOWEL SIGN I")
Nothing more serious than a typo in the article would be my guess. > 'ffl'.chars
1(see what I did there)