Perl Unicode Cookbook: Make cmp Work on Text instead of Codepoints
℞ 38: Making cmp work on text instead of codepoints Even with Perl 5.12’s “unicode_strings” feature, some of Perl’s core operations do not perform as expected on Unicode strings by default. For example, how is the cmp operator to know…