QuoteSubject: Behavior unpack/pack in v5.10 with U-template
hi,
from v5.6.1 to v5.8.8, I get the list of codepoints as follow:
@codepoints = unpack("U*", $bytes); # where $bytes is an utf-8-coded string
# or as recommended
@codepoints = unpack("U0U*", $bytes);
Now, I have Perl as v5.10 and the result of unpack("U0U*", $bytes); is a list of byteorder:
my @b = unpack "C*", 'ä'; # 195 164
my @b = unpack "U*", 'ä'; # 195 164, same as above!
as not expected! It is a bug or a feature?
Kind regards,
Rolf Rost
2011-08-20T15:12:08 GwenDragonHast du jetzt eine Frage oder wolltest du nur den Bug melden?