my $chars = decode('UTF-8', $octets_from_mysql); # Option 1 my $chars = decode('utf8', $octets_from_mysql); # Option 2