perl-unicode
|
Re: [EXPERIMENTAL] 1st draft of Encode2000-09-14 04:02:03At 18:00 +0200 2000-09-13, Philip Newton wrote: What's Perl's take on characters where ord($c) > 0xffff, anyway? It seems to Just Work, as this one-ish-liner shows: % perl -we '$s.=chr(16**$_-1) for(1..9); \ printf "%#10x\n", ord($t) while $t=substr($s,0,1,"")' 0xf 0xff 0xfff 0xffff 0xfffff 0xffffff 0xfffffff 0xffffffff 0xffffffff -- Dominic Dunlop
|
|