Try substituting encodeURIComponent() for escape() and see how that  
goes for you.

Walter

On Apr 26, 2008, at 9:21 PM, gazza wrote:

>
> Hi - i'm trying to include some double byte characters in the
> parameters property of my ajax call. I am 'escape()' ing the text
> before i pass it in so it looks something like
>
> &FIELD3=%u4E2D%u6587%uFF08%u7E41%u9AD4%uFF09
>
> but when i make the call i get an error
>
> 'The URL to be decoded is not a valid encoding'
>
>

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to