Invalid UTF-8 input: IliadKom not decoding UTF-8?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Invalid UTF-8 input: IliadKom not decoding UTF-8?

hernanmd
Have you experienced the infamous "Invalid UTF-8 input" when posting a form with a field containing a diacritic? The exception is the same as evaluating in Pharo 3:

GRPharoUtf8Codec new decode: 'hernán'.

I have patched by getting the current codec and then #convertToEncoding: the posted value, i.e.:

'hernán' convertToEncoding: 'utf-8'.

in #decodePostData: aValue but I would like some feedback if you have any because I don't like the workaround.
Cheers,

Hernán

--
You received this message because you are subscribed to the Google Groups "Iliad project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.