$_ = 12; # Value is 12, the number of months in a year.
print "$_\n"; # Value is still 12, the number of months in a year,
# just stored differently.
$_ = "\x80\x81"; # Value is bytes 80 81
utf8::upgrade($_); # Value is still bytes 80 81,
# just stored differently.
print(length($_), "\n"); # 2
And all it took was 57 levels of exchanges for you to get around to admitting it.
Admit what? That some strings of bytes can be stored using multiple bytes? That was my point from the very beginning.
|