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

Re: Obsolete text in utf8.pm

Thread Previous | Thread Next
From:
demerphq
Date:
December 25, 2015 03:18
Subject:
Re: Obsolete text in utf8.pm
Message ID:
CANgJU+W-ChetEfmCbTQG_hEED1bp_u4PMk488s53vw01Y3w3tg@mail.gmail.com
On 24 December 2015 at 19:28, John Imrie <j.imrie1@virginmedia.com> wrote:
> You have another problem with utf8 in identifiers in that $é is not the
> same as $é. Unless something between my email client and your email
> client has normalised this message. This could make a difference if you
> try to import a sub from a package and the text in the package and
> importing script have different ideas of how the identifiers should be
> normalised. I would like to propose that identifiers added into the
> stash by Perl its self are done so in Normalization Form C this does not
> stop a programmer from directly manipulating the stash with such as
> ${"é::é"} but in this case they are supposed to know what they are doing.
>
> Thoughts please.

At one point I knew off by heart what normalization form C was. Right
now, I have little recollection of it though, and I suspect I am not
alone. Is it the one where combining characters are replaced with
canonical codepoints?

Perhaps it would be easier to assess your proposal if you spelled it
out a bit more?

Yves

-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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