[squeak-dev] Re: #nextChunk speedup,
the future of multibyte streams
Bert Freudenberg
bert at freudenbergs.de
Wed Feb 3 08:20:05 UTC 2010
On 03.02.2010, at 00:13, Nicolas Cellier wrote:
>
> I don't like at all having a String being a blob of bits subject to
> encoding interpretation.
> String is a collection of characters, and there should be a canonical
> encoding known from the VM.
> utf8ToSqueak, squeakToUtf8 etc... are quick and dirty hacks.
>
> We should use ByteArray, or better, introduce an UTF8String if it
> becomes that important.
> Code will be much much much cleaner and foolproof.
That's what Scratch did ...
- Bert -
More information about the Squeak-dev
mailing list
|