in reply to Re^3: i18n/utf8 problem, 'utf8 "\xF8" does not map to Unicode'in thread i18n/utf8 problem, 'utf8 "\xF8" does not map to Unicode'
utf8::decode(my $text = $binary) or die "Input is not valid UTF-8"; [download]
It works in-place.