Try setting the page encoding. For example, for html use:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

or for xhtml use:
<?xml version="1.0" encoding="utf-8"?>

Though, I'm not sure this will fix your problem. It's just a guess.

Allen Madsen
http://www.allenmadsen.com



On Wed, Dec 2, 2009 at 5:33 PM, 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

-- 
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