At 11:09 PM -0800 1/10/08, Larry Wall wrote:
It's really already very much like you want it to be. Most Str objects
do not in fact have any byte semantics. If you say "foo".bytes, that
is shorthand for "foo".bytes(:nf, :enc). In other words,
you have to tell it what units you want the bytes to
It's really already very much like you want it to be. Most Str objects
do not in fact have any byte semantics. If you say "foo".bytes, that
is shorthand for "foo".bytes(:nf, :enc). In other words,
you have to tell it what units you want the bytes to be measured in.
It just assumes utf-8 as a con
[EMAIL PROTECTED] skribis 2008-01-10 16:14 (-0800):
> +(Note that C<.bytes> is not guaranteed to be well-defined when the encoding
> +is unknown.
(This message is a mess; in my defense, it's 5:30 AM here. I just had to
respond, because I have the feeling Perl 6's unicode model is going
exactly the
Author: larry
Date: Thu Jan 10 16:14:53 2008
New Revision: 14489
Modified:
doc/trunk/design/syn/S02.pod
Log:
Clarification requested by moritz++
Modified: doc/trunk/design/syn/S02.pod
==
--- doc/trunk/design/syn/S02.