develooper Front page | perl.perl6.internals | Postings from December 2001

Re: Large string patch

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
December 31, 2001 06:44
Subject:
Re: Large string patch
Message ID:
5.1.0.14.2.20011231094401.021628c0@pop.sidhe.org
At 09:55 PM 12/30/2001 -1000, David & Lisa Jacobs wrote:
>From: "Dan Sugalski" <dan@sidhe.org>
> > We do still need to address the byte-orientation of the strings. Throwing
>a
> > single null byte on the end's not enough for buffers that have 16 or 32
>bit
> > characters.
>
>Agreed.  I'll probably have the encoding structure provide the terminating
>bytes.  As a side note don't we also have to split UTF-16 into UTF-16BE and
>UTF-16LE (big endian and little endian)?

I think UTF-16 can be a single encoding. The little/big endian issue can be 
dealt with by an I/O filter.

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk


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