The Test-utf8 perl distribution contains a collection of tests useful for dealing with UTF-8 strings in perl.