Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Chicanery Needed to Handle Unicode Text on Microsoft Windows

by Anonymous Monk
on Oct 31, 2010 at 17:16 UTC ( #868614=note: print w/replies, xml ) Need Help??


in reply to Re: Chicanery Needed to Handle Unicode Text on Microsoft Windows
in thread Chicanery Needed to Handle Unicode Text on Microsoft Windows

I see a problem with testing
$ perl -le " binmode STDERR, q!:encoding(UTF-16le)!; print join q! !, +PerlIO::get_layers( STDERR , details => 1) unix 18895360 crlf 13193728 encoding UTF-16LE 13144576 $ perl -le " print join q! !, PerlIO::get_layers( STDERR , details => + 1) unix 18895360 crlf 13193728 $ perl -le " binmode STDERR; print join q! !, PerlIO::get_layers( ST +DERR , details => 1) unix 18895360 crlf 13177344 $ perl -le " binmode STDERR, q!:encoding(UTF-16le)!; print join q! ! +, PerlIO::get_layers( STDERR , details => 1) unix 18895360 crlf 13193728 encoding UTF-16LE 13144576 $ perl -le " binmode STDERR, q!:raw:perlio:encoding(UTF-16le):crlf!; + print join q! !, PerlIO::get_layers( STDERR , details => 1) unix 18895360 crlf 13193728 perlio 13111808 encoding UTF-16LE 13144 +576 $
So there is a bug somewhere
  • Comment on Re^2: Chicanery Needed to Handle Unicode Text on Microsoft Windows
  • Download Code

Replies are listed 'Best First'.
Re^3: Chicanery Needed to Handle Unicode Text on Microsoft Windows
by Anonymous Monk on Oct 31, 2010 at 17:58 UTC
      Gah! Jim is wrong, thats not Chicanery, thats brainfuck squared