[Seaside] Accented characters
philippe.marschall at gmail.com
Mon Jul 24 10:11:28 UTC 2006
2006/7/24, Damien Cassou <damien.cassou at laposte.net>:
> Philippe Marschall wrote:
> > 2006/7/24, Damien Cassou <damien.cassou at laposte.net>:
> >> Philippe Marschall wrote:
> >> Ok, I wasn't clear at all, sorry. I understand I need to use
> >> WAKomEncoded and how to use it. What I miss now is how to convert
> >> strings from Seaside input to Squeak model and back. Thank you Philippe.
> > You don't need to convert anything. If you use WAKomEncoded it does
> > the converting. You just have to make sure that the strings that you
> > give to seaside but don't come from seaside (literals) have the right
> > encoding.
> It doesn't work. I wrote a very simple task:
> | value |
> value _ self request: 'A string'.
> self inform: value.
> I executed this:
> WAKom stop.
> WAKomEncoded startOn: 8080.
> And then I entered a simple 'ö' in the text input within firefox in
> which utf-8 is selected.
> This is the result of clicking the 'Ok' button:
> Internal Server Error
> Error: Invalid utf8 input detected
You're right it's broken. I was not aware of this Also external: utf-8
internal: utf-8 doesn't work in 3.9 although it does in 3.7.
> My image is 3.9b-7044 and I use Seaside2.6b1-dc.62
> Any advice ?
Switch to an older Squeak (3.8 or 3.7) or fix it yourself. Sorry if
this sounds harsh but these are the two most likely ways to get it
More information about the Seaside