develooper Front page | perl.perl5.porters | Postings from April 2012

Re: unicode question

Thread Previous | Thread Next
From:
Tom Christiansen
Date:
April 26, 2012 11:15
Subject:
Re: unicode question
Message ID:
16085.1335464127@chthon
Jesse Luehrs <doy@tozt.net> wrote
   on Thu, 26 Apr 2012 09:32:59 CDT: 

> Why are you assuming that text is the only thing that people ever pipe
> to a program? Interpreting STDIN as UTF-8 would break something along
> the lines of a perl implementation of gzip, for instance. This may not
> be a bad thing for a default assuming it can be overridden, but it would
> certainly not be backwards compatible.

Playing the devil's advocate for a moment, any program that assumes an
unmarked stream to be in binary not text is inherently broken on all
Microsoft-encumbered platforms, as those assume the contrary condition.

--tom

PS: Where Devil=Microsoft

Thread Previous | Thread Next


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