[Seaside-dev] Seaside 3.0a6ish

Paolo Bonzini bonzini at gnu.org
Thu May 20 11:55:19 UTC 2010


On 05/19/2010 08:07 PM, Michael Lucas-Smith wrote:
> This is the reality we're in right now and instead of rocking the boat
> too much, I have an obligation to make Seaside work the least disruptive
> way possible. I'm all in favor of changing the contract, but only if
> everyone else is too. So for now, I accept your accusation that #encode:
> is returning a String seemingly incorrectly, but throw back that that's
> the expectation of the API.

And I can only agree with you, unfortunately.

> #testCodecUtf8Bom does the opposite, it wants to compare strings
> containing unicode characters and as such in VisualWorks we end up with
> a TwoByteString of which you cannot send #asByteArray. This is how I
> first noticed the problem.

Yep, it's contrary to GNU Smalltalk.  In GNU Smalltalk I get an error on 
#asUnicodeString for the Latin-1 encoded string.  In VisualWorks you get 
an error on #asByteArray for the UTF-8 decoded string. :-)

Paolo


More information about the seaside-dev mailing list