Does it break if you use "htmlentities($searchParameter,ENT_COMPAT,'UTF-8');" for all browsers?
Allen Madsen http://www.allenmadsen.com On Fri, Dec 11, 2009 at 2:42 PM, John <john....@gmail.com> wrote: > > the page has this meta-tag > <meta http-equiv="Content-Type" content="text/html; > charset=utf-8" /> > but I get the same bug :( > > > On 3 dic, 07:24, Allen Madsen <bla...@gmail.com> wrote: > > 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 Madsenhttp://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 "´"entity. > > > > > but in Internet explorer I need use htmlentities($searchParameter); > > > without 'UT8-Charset' , > > > to get the "´"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 athttp:// > 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 > -- 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