Re: pack('C'...) sets UTF8 flag

2005-07-08 Thread Bob Hallissy
On 2005-07-07 06:27:04 PM Rafael Garcia-Suarez wrote: >This is fixed in the development branch of perl (5.9.x). >Something probably goes wrong with the localisation of UTF-8 magic. >The next 5.8.x release may have this bug fixed. OK, I've crafted the following module that seems to work as a patc

Re: data written on ebcdic

2005-07-08 Thread Nick Ing-Simmons
Rajarshi Das <[EMAIL PROTECTED]> writes: >I run the following on an ebcdic platform >(perl-5.8.6), > >$BOM = chr(0xFEFF); >open(UTF_PL, ">:raw:encoding(utf16le)", "utf.pl") >or die "utf.pl($enc,$tag): $!"; >print UTF_PL $BOM; >print UTF_PL "1"; > > > >should the data that is written using