There’s a really terrific article over on ahinea.com, called
Unicode-processing issues in Perl and how to cope with it
Anyone who programs in perl and has to deal with Unicode, including the kind of UTF-8 encoded name data that’s all over the directory service I manage, should print out this article, read it and keep a copy close by.