When you do my $thing = chr( 12345 ); what does that "character" represent?Is a Chinese character? Or Sanskrit? Or Cyrillic?
Is it utf-8; utf16; utf32?
Is it big-endian or little-endian?
It's Unicode. It's HANGZHOU NUMERAL TWENTY, in fact. UTF-8, UTF-16 both represent unicode codepoints, but encode them differently.
When you concatenate a different string to it, the result might depend on the version of Perl. See unicode_strings.
In reply to Re^5: Character in 'b' format wrapped in unpack
by choroba
in thread Character in 'b' format wrapped in unpack
by BrowserUk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |