[Seaside] Re: String encoding

Igor Stasenko siguctua at gmail.com
Tue Apr 22 12:20:17 UTC 2008


2008/4/22 Philippe Marschall <philippe.marschall at gmail.com>:
> 2008/4/22, Igor Stasenko <siguctua at gmail.com>:
>
> > okay, i figured it out by implementing a #charSet method in my session
>  >  subclass to return iso charset instead of utf-8.
>
>  That sounds more like a hack until the problem gives up rather than a
>  fix. Could you answer:
>  - what encoding your web page should have
>  - what encoding the strings in your image should have
>

'ISO-8859-1' for both web page & squeak.
But of course, i would prefer using utf-8 for webpage and let seaside
auto-translate my strings from ISO-8859-1

>  Since you are dealing with Squeak literals, it might be better to use
>  WAKomEncoded and utf-8 in the web and Squeak encoding in your image.
>
Can you be more specific, where i can set preferences or make changes
to achieve above?

>  Cheers
>  Philipe
>  _______________________________________________
>  seaside mailing list
>  seaside at lists.squeakfoundation.org
>  http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the seaside mailing list