Hi Gordon, the Form.serialize() function from protoype uses encodeURIComponent() which returns utf-8 encoded values. I suppose, the Ajax.Updater encodes the parameters again, because of the "encoding: 'UTF-8'" option.
Did you tried to use the Ajax.Updater without using encoding option? purcaholic On 1 Jun., 10:10, "Franke Gordon" <[EMAIL PROTECTED]> wrote: > Hello, > > when i send the form the response is double encoded with utf-8? > > I use this code: > <script type="text/javascript"> > form = $('post_edit_form'); > form.onsubmit = function () { > new Ajax.Updater( > 'post_edit', > form.action, > { parameters: Form.serialize(this), evalScripts: true, encoding: > 'UTF-8' } > ); > return false; > }; > </script> > > So what ist he problem? > > beste Grüße > Gordon > > ----------------------------------------- > gordon franke > application engineer > > die SKYTEC AG > - deutschlands beste arbeitgeber 2003-2006 > - european best workplaces 2003-2005 > - european top 3 it-companies > - europe's 500 - 100 fastest growing companies 2005 > SKYTEC AG | keltenring 11 | 82041 oberhaching > t. +49.(0)89.6666 7 668 | f. +49.(0)89.6666 7 800 | m. (0)176.1066 0 668 > eMail: [EMAIL PROTECTED] | Internet:www.skytecag.com > vorstand: thomas geyer, christian veitl | vorsitzender des aufsichtsrates: > harald strötgen > sitz der gesellschaft: oberhaching | registergericht: münchen, HRB 127943 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---