[Seaside] 3.9 and encoding

Martial Boniou Martial.Boniou at ifrance.com
Wed Feb 28 14:55:33 UTC 2007

Philippe Marschall a écrit :
| 2007/2/28, Martial Boniou <Martial.Boniou at ifrance.com>:
| >Hi,
| >
| >I tought I had 'corrupted' 3.9 images but it seems to be a general issue
| >for 3.9. I had made the hack as Philippe said. Actually I changed the
| >Dialect class>>basicIsSqueak test so that it pass well during
| >installation (to get the SmalltalkImage things and not Smalltalk); I
| >added a Dialect class>>basicIsSqueak39 (true for SystemVersion number >
| >7010); I subclass SqueakDatabaseAccessor to Squeak39DatabaseAccessor to
| >modify the instance method #basicExecuteSQLString to say:
| >
| >result := connection execute: (aString asWideString convertToEncoding:
| >'utf-8').
| Do you really need to send #asWideString? It doesn't look like it
| would do anything if you already have a String.

Of course! That means nothing. My brain had lack of oxygen at this
moment ;-)

| Philippe
| >It works well. I did it to test Ramon Leon's Seaside Blog but I didn't
| >post this because I wasn't sure it was a common problem and because of
| >the ugliness of the string conversion.
| >
| >I attach my two mods.
| >
| >--
| >Martial

More information about the Seaside mailing list