[Seaside] character encoding again

Sten Kvamme sten at kvamme.se
Mon Mar 5 10:58:10 UTC 2007


On Mar 5, 2007, at 11:42 , Lukas Renggli wrote:

>
> I wouldn't do that and I am sure you will sooner or later run into  
> troubles.

I get it. Accented characters input by the user in a browser  
textfield will be encoded in the wrong way.

Thanks.

>
> 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
>
> Cheers,
> Lukas
>
> -- 
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside





More information about the Seaside mailing list