[Seaside] Seaside 2.7

Koji Yokokawa koubo2006 at yengawa.jpn.org
Wed Feb 28 04:47:06 UTC 2007


On Tue, 27 Feb 2007 15:36:19 +0100
"Philippe Marschall" <philippe.marschall at gmail.com> wrote:

> 2007/2/27, Masashi UMEZAWA <masashi.umezawa at gmail.com>:
> > Hi,
> >
> > 2007/2/25, Koji Yokokawa <koubo2006 at yengawa.jpn.org>:
> > > I have some minor changes to fix troubles about UTF8 and WideString.
> > > (I don't have tests but I checked in Japanese)
> > >
> >
> > Unfortunately, these patches are only for Squeak. Since Seaside should
> > be easily ported to VW (or even Dolphin?), I think there need to be
> > more indirections. (Especially the patches for WAUrl).
> 
> Not so much. We already send #escapeForHTTP in WAUrl so sending it at
> a second place won't break anything that is not already broken. It
> won't do utf-8 encoding in Squeak 3.8 but fixes functionality and
> breaks done.

And, that WAUrl patch for Squeak3.8 is a temporary work-around to avoid
exception. I think String>>escapedForHTTP should convert the WideString
to utf-8 at the sametime, like the implementation in Squak3.9. 

> The sever adapters are platform specific anyway (they are located in
> 'Seaside-Platform' too) so this is no problem as well.
> 
> It added the patches in a slightly changed form (there was a bug when
> copying urls) to Seaside 2.8.

Thanks.

> One thing to always remember it that some people do not want
> WideStrings and prefer ByteStrings in utf-8 instead.

Well, but some users will post wide-strings easily, they don't care
about the developer's intention. Then some application will be crushed.
I noticed that Pier is broken by a post in Japanese.

Koji

-- !
Koji Yokokawa <koubo2006 at yengawa.jpn.org>
    http://www.yengawa.com/
    ^self new!



More information about the Seaside mailing list