[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?
- To: macperl-modules@macperl.org
- Subject: Re: [MacPerl-Modules] XML::Parser: support for native Mac (Roman) character set?
- From: bart.lateur@skynet.be (Bart Lateur)
- Date: Mon, 01 May 2000 14:40:51 GMT
- In-Reply-To: <390d89bf.11881650@relay.skynet.be>
- Organization: MediaMind
- References: <p04310106b52f8207e48f@[216.39.165.228]> <390d89bf.11881650@relay.skynet.be>
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