[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-Modules] XML::Parser: support for native Mac (Roman) character set?



Time for some cross-platform pedantry.

On Sun, 30 Apr 2000 19:52:26 GMT, Bart Lateur wrote:

>    open OUT, ">\L$encoding.enc";
>    print OUT pack 'Na40n2N256', 0xFEEBFACE, $encoding, 0, 0, @map;

If you'd ever run this on a PC, it would break. You'd better put 

	binmode OUT;

between these statements, in both scripts.

-- 
	Bart.

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-modules-request@macperl.org