Front page | perl.perl5.porters |
Postings from May 2012
Re: unicode question
Thread Previous
From:
jvromans
Date:
May 3, 2012 10:47
Subject:
Re: unicode question
Message ID:
20386.50314.700457.977797@phoenix.squirrel.nl
[Quoting demerphq, on May 3 2012, 17:38, in "Re: unicode question"]
> > I expect a Perl program that processes binary information from
> > STDIN to use an explicit binmode.
>
> Based on what documentation?
E.g, from Camel IV, p. 906:
If you’re running on a system that distinguishes between text and
binary files, you may need to put your filehandle into binary
mode—or forgo doing so, as the case may be—to avoid mutilating your
files. On such systems, if you use text mode on a binary file, or
binary mode on a text file, you probably won’t like the results.
&c.
-- Johan
Thread Previous