in reply to Comparing utf8 strings

Depends on how you want to compare it. In general, you should read perlunitut and perlunifaq first.