[Seaside-dev] testCodecLatin1 and testCodecUtf8Bom

Philippe Marschall philippe.marschall at gmail.com
Wed May 26 19:58:11 UTC 2010


2010/5/25 Paolo Bonzini <bonzini at gnu.org>:
> On 05/25/2010 09:50 AM, Paolo Bonzini wrote:
>>
>> On 05/15/2010 01:19 AM, Michael Lucas-Smith wrote:
>>>
>>> Hi All,
>>>
>>> #testCodecLatin1 and #testCodecUtf8Bom fail for me on VisualWorks.. once
>>> the Unicode string is created, #asByteArray is sent to it to "turn it
>>> back to bytes" but of course this is impossible
>>
>> It's a hack, but if you use #asString it works in GNU Smalltalk too.

would #greaseString work as well?

> ... and if I do that in #encode: it works.  Sorry for not thinking about it
> earlier.  My excuse is that it is a bit gross.  :-)

Would comparing using streams and sending work or would that fail as well?

Cheers
Philippe


More information about the seaside-dev mailing list