use Encode; my $bytes = get_data_from_APR_TABLE(); my $characters = decode('utf8',$bytes);