develooper Front page | perl.perl5.porters | Postings from May 2016

Whither encoding::warnings?

Thread Next
From:
Father Chrysostomos
Date:
May 21, 2016 19:37
Subject:
Whither encoding::warnings?
Message ID:
20160521193701.29918.qmail@lists-nntp.develooper.com
Whither encoding::warnings?

I tried removing ${^ENCODING}, but tests for encoding::warnings fail.
See the sprout/encoding branch.

Before working on this any further, I need to ask what the plan is for
encoding::warnings.

Reading the POD of the module, I don't really understand its purpose.
It seems to be based on a faulty understanding of Perl's Unicode
model, probably reinforced by encoding.pm's model, which never really
made sense to me.

Do we need to put encoding::warnings through a deprecation cycle?  Or
can we simply disable it (or make it a no-op) for Perl 5.26 onwards?

Much work has been put into making sure that accidental upgrading of
"\xff" to "\N{0+FF}" will have no ill effects; hence, warning about
that seems unnecessary.


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