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

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

Thread Previous | Thread Next
From:
Dan Book
Date:
July 4, 2017 01:35
Subject:
Re: [perl #131685] Rename utf8::is_utf8() (and other functions)
Message ID:
CABMkAVW_RtB21YLfwADXrw_Zm99B3TvFPmBmPQKXFRw2aov1=A@mail.gmail.com
On Mon, Jul 3, 2017 at 8:38 PM, Tony Cook <tony@develop-help.com> wrote:
>
>
> As a side note, the original thread refers to:
>
> https://metacpan.org/source/SHAY/perl-5.24.1/cpan/Archive-
> Tar/lib/Archive/Tar.pm#L1501
>
> which I could see as correct because of the way perl's unicode support
> (fails to) deal with filenames.
>
> Tony
>

Not entirely correct IMO. If the intent is that filenames be encoded to
UTF-8, this will fail to encode downgraded names with non-ascii characters.

-Dan

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