Try to use url parameters with url and not in parameters:

new Ajax.Request(
    'http://www.test.com/search.php?search=bogotá',
    {method: 'get',
     onSuccess: function(){...},
     //parameters:'search=bogotá' ,
     onFailure: function(){...}
  );

It is not very cool fix :) but I can not find some bether...



On 2. Dec., 23:33 h., John <john....@gmail.com> wrote:
> If I sent a parameter with "bogotá" value over this code
> new Ajax.Request(url, {
>                   onSuccess: function(response) {
>                                        //code
>                  }
>                                  ,parameters:'search=bogotá'
>
> });
>
> When this arrived to php script through Mozilla  I need use
> htmlentities($searchParameter,ENT_COMPAT,'UTF-8');
> php function  to get the "&acute;"entity.
>
> but in Internet explorer I need use  htmlentities($searchParameter);
> without 'UT8-Charset' ,
> to get the "&acute;"entity.
>
> I think this doesn't have to be different between browsers.
>
> I tried with enconding parameter set to "UTF-8" in the Ajax Request,
> but I got the same results.

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en

Reply via email to