Unicode::Semantics provides a workaround for *the* Perl 5 Unicode bug. You can also just use the built-in function utf8::upgrade ;)