...instead of using postBody, you could try passing in the variables in
question with "parameters: someparsVariableName"... where
"someparsVariableName" is the name of the concatenated name-value pair
string of parameters. This way you could control how the parameters were
passed in.
On 5/5/07, Kristian Nørgaard
<kristiannoergaard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> Hi, newbee here.
> I''m trying to post a form this way:
>
> new Ajax.Updater (''ajax_div'',
''http://localhost/test/init'',
{method:''post'',
> postBody:
> Form.serialize(f), asynchronous:false})
>
> - and it works, except from the encoding.
> Any special letter ( like the danish ones: æøå ) are not encoded corr>
ectly.
>
> Is there a standard way to properly handle things like this?
>
> Thanks for any help...
>
> / Kristian
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---