develooper Front page | perl.perl5.porters | Postings from January 2003

ext/Encode/CJKT.t on Win32

Thread Previous
From:
Nick Ing-Simmons
Date:
January 26, 2003 11:23
Subject:
ext/Encode/CJKT.t on Win32
Message ID:
20030126192339.1859.13@bactrian.ni-s.u-net.com

Various sub-tests of ext/ext/Encode/CJKT.t fail on Win32.
I think the problem is that you have a 
  binmode($src); 

and then 

  binmode($dst,":utf8");

And then call File::Compare::compare_text

The snag is that 1st turns off CRLF translation, but second does not
so files do not compare.

I _think_ you need a 
  binmode($dst);

before the UTF-8-izing.



-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About