uint8 i = 2; uint16 j = i; #### my $i = "\x82"; utf8::upgrade( my $j = $i );