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

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

Thread Previous | Thread Next
July 24, 2017 12:50
Re: [perl #131685] Rename utf8::is_utf8() (and other functions)
Message ID:
On Sunday 23 July 2017 18:57:43 Tony Cook via RT wrote:
> Is there anything else we should do to avoid mis-use of these functions?

The most useful and legitimate are those functions:
utf8::encode utf8::decode utf8::native_to_unicode utf8::unicode_to_native

What about moving them "upper" in synopsis and also in description? So
first we show users those functions which they probably want to use in
their code, and after describe those upgrade/downgrade/is_utf8...

Probably adding "[INTERNAL]" description, like is for utf8::valid could
help too.

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