[Seaside] Scriptaculous in place editor and comanche adaptor
sebastian at flowingconcept.com
Sun Jan 26 00:20:03 UTC 2014
here is something that doesn’t feel right but works
WAComancheRequestConverter>>postFieldsOf: aNativeRequest into: aRequestFields
"puts all the POST parameters of the given request decoded into a WARequestFields"
| isUrlEncoded |
isUrlEncoded := self isUrlEncoded: aNativeRequest.
decodeFields: aNativeRequest postFields
using: [ :each |
ifTrue: [ each ] <**** not decoding
ifFalse: [ self codec decode: each ] ]
On Jan 25, 2014, at 3:23 PM, Sebastian Sastre <SEBASTIAN at FLOWINGCONCEPT.COM> wrote:
> Hi there,
> I’m seeing this weird error when posting with a scriptaculous in place editor on the latest seaside with comanche.
> MessageNotUnderstood: GRPharoUtf8Codec>>invalidUtf8
> What the debugger shows?
> In #decode: the string seems to be already decoded from utf hence the exception
> Any ideas on how to prevent decoding twice?
> PD: it will not fail when you post text that doesn’t have diacritics so make sure you use something like 'organição'
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside