Help for this page
utf8::decode($string) or die "Input is not valid UTF-8";
utf8::decode(my $text = $binary) or die "Input is not valid UTF-8";