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 -