[Seaside] character encoding again

Philippe Marschall philippe.marschall at gmail.com
Mon Mar 5 12:14:34 UTC 2007


2007/3/5, Cédrick Béler <cbeler at enit.fr>:
> Hi
>
> I think I need some precisions...
> >
> > I wouldn't do that and I am sure you will sooner or later run into
> > troubles.
> >
> > In my experience the easiest (but certainly not the only) way to make
> > things work is the following:
> >
> > - leave WAHtmlBuilder class>>#initialize as it is
> > - use WAKom instead of anything that does a special encoding
> > - use #isoToUtf8 on all strings you define in your image
> > - strings that come from the outside (requests) are already utf-8
> >
> So instead of using WAKomEncoded39.... we can use WAKom and converts
> image strings in UTF8.
> Is it correct ?

No, WAKom does not converting whatsoever.

> What about the performance ? better with WAKom/#isoToUtf8 or with
> WAKomEncoded39 (or equal :) ) ?

Premature optimization. Performance should play no role in your
decision WAKom <-> WAKomEncoded

You don't have this choice in Squeak 3.9. In Squeak 3.9 WAKomEncoded39
is the only thing that works.

Philippe

> Thanks
>
> Cédrick
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the Seaside mailing list