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

[perl #131685] Rename utf8::is_utf8() (and other functions)

Thread Previous | Thread Next
From:
Tony Cook via RT
Date:
July 24, 2017 01:57
Subject:
[perl #131685] Rename utf8::is_utf8() (and other functions)
Message ID:
rt-4.0.24-10859-1500861463-1988.131685-15-0@perl.org
On Fri, 21 Jul 2017 02:02:08 -0700, xsawyerx@gmail.com wrote:
> +1
> 
> (Except "$a" still appears in the comments next to the lines that now
> say "$x". Sorry.)

Fixed and applied as e423fa83496ce7d83b137bd7f0852864b6073b36, 01c3fbbc0d1b54bb0dd6fdc0abed7854e62c6717, ee329aefb9c0bfcee0e6cc41dcd6eb8b03206f30 and 0397beb0d12565d70e168bfea7376e2612a6748a.

Is there anything else we should do to avoid mis-use of these functions?

I previously said:
> > > Using this flag to decide whether a string should be treated as
> > > already encoded bytes or characters is wrong, this should be
> > > decided as part of the interface of your function.
> > which could perhaps use some expansion in perlunicode. 
> perlunitut covers this reasonably well.

I'm referring to "I/O flow (the actual 5 minute tutorial)", should this be expanded elsewhere?

I don't think it should be expanded in perlunitut.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=131685

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