develooper Front page | perl.perl5.porters | Postings from October 2017

Re: source encoding

Thread Previous | Thread Next
Father Chrysostomos
October 25, 2017 23:46
Re: source encoding
Message ID:
Zefram wrote:
> It made some sense back then, but keeping such pre-5.6 Unicode-using
> programs running totally unchanged isn't a compelling backcompat case.
> If you want to keep the program running without any semantic change,
> it's easy enough to recode the source in ASCII with \x escapes.

Which makes it unreadable.

> >If this stops working, I might find it annoying enough to stick with
> >an old perl for 'real' work.
> If you did that, would you drop your opposition to new perls making
> "Wide character in print" fatal?

Consider my previous sentence rhetorical.  I would probably write a
source filter to enable the previous behaviour.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About