Re: Bytes make no sense on text strings

2006-10-09 Thread Larry Wall
On Mon, Oct 09, 2006 at 11:40:09PM +0200, Juerd wrote: : I don't understand why having :bytes for things like s/// would be a : good thing. : : A Str doesn't have bytes, just like how a Buf doesn't have characters. : : To get bytes out of a Str, you need an encoding. There will be an : internal e

Bytes make no sense on text strings

2006-10-09 Thread Juerd
I don't understand why having :bytes for things like s/// would be a good thing. A Str doesn't have bytes, just like how a Buf doesn't have characters. To get bytes out of a Str, you need an encoding. There will be an internal encoding, but exposing it in this way is probably just asking for a lo