List Info

Thread: Re: the utf8 flag (was Re: decode_utf8 sets utf8 flag on plain ascii strings)




Re: the utf8 flag (was Re: decode_utf8 sets utf8 flag on plain ascii strings)
user name
2007-03-30 18:06:44
On Fri, Mar 30, 2007 at 02:00:37PM -0700, Marvin Humphrey
<marvinrectangular.com> wrote:
> >>Thats a broken unicode model
> >
> >So far, I've only seen a broken understanding of
the unicode model,  
> >and
> >a broken regex engine.
> 
> That so many users, including those as expert as Marc,
possess a  
> "broken" understanding of Perl's Unicode
model suggests a flawed  
> design.  We have been set up to fail.

My "broken" understand bails down to users not
having to know about the
internal UTF-X flag. If that is indeed wrong, then going
back to the
explicit 5.005_5x model where you indeed had to track your
encoding
manually is the right thing.

However, I claim it would a great loss. Back to the assembly
programming
of unicode.

-- 
                The choice of a
      -----==-     _GNU_
      ----==-- _       generation     Marc Lehmann
      ---==---(_)__  __ ____  __      pcggoof.com
      --==---/ / _ / // / / /      http://schmorp.de/
      -=====/_/_//_/_,_/ /_/_      XX11-RIPE

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )