develooper Front page | perl.perl5.porters | Postings from December 2015

Re: Obsolete text in utf8.pm

Thread Previous | Thread Next
From:
demerphq
Date:
December 7, 2015 09:59
Subject:
Re: Obsolete text in utf8.pm
Message ID:
CANgJU+Wj9wSaHC+p+oOgiuiqyuUW0krAZFd6bmLra5z3qmUJ=Q@mail.gmail.com
On 6 December 2015 at 01:45, Zefram <zefram@fysh.org> wrote:
>>                                        but not in package/class or
>>subroutine names.
>
> It was never true that these contexts differed from other kinds of
> identifier.  From 5.8.0 onwards, up to 5.22, all of these kinds of
> identifier can have non-ASCII characters if the source is in upgraded
> form, and cannot if the source is downgraded.

Just in passing, fuzz testing of Sereal revealed that the API's for
class names will segfault if you give them malformed utf8 classnames
or packages. Sereal was patched not to allow it, but it seemed somehow
tangently topical to this thread.

Yves

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