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

Re: RFC: regex /i folding always use utf8?

Thread Previous | Thread Next
From:
Zefram
Date:
December 8, 2009 03:15
Subject:
Re: RFC: regex /i folding always use utf8?
Message ID:
20091208111544.GB1490@fysh.org
David Nicol wrote:
>for that matter, how about defining all strings as utf8 for semantic
>reference

For semantic reference, all strings are sequences of codepoint values (in
some not-entirely-decided range that is a superset of Unicode codepoints).
Latin-1 representation is a space and speed optimisation with restricted
applicability; UTF-8 representation is a space optimisation but speed
pessimisation.

-zefram

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