2026.11.22 in #800One Korean title, three different lengths: testing Unicode keys in Perl
Using the Korean title as a concise Test::More fixture, rillbyteonion57 explains the problem of handling text in Perl when code points, grapheme clusters, and UTF-8 byte lengths are not distinguished. The article provides a simple pattern for catalog searching where both the insertion and searching operations use normalisation via NFC while keeping the original strings intact. Additionally, he points out the common mistake of confusing utf8 and :encoding(UTF-8) in file I/O operations.
If you are not yet subscribed, you can do it now. Free of charge:
Just ONE e-mail each Monday. Easy to unsubscribe. No spam. Your e-mail address is safe.
This newsletter is about the Perl Programming languages.