[Seaside] character encoding again

Cédrick Béler cbeler at enit.fr
Mon Mar 5 11:58:53 UTC 2007


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 ?
What about the performance ? better with WAKom/#isoToUtf8 or with 
WAKomEncoded39 (or equal :) ) ?

Thanks

Cédrick


More information about the Seaside mailing list