3

HTML Special Characters like á, Á are getting converted to ? in Chrome & Mozilla. It works fine in IE.

When I use special character á in the search box of the site, there is a difference in url for both Chrome/Mozilla and IE. Special Character in the search query is converted as:

%E1 - in URL of Chrome/Mozilla, but in text field it is displayed as ?.

%26aacute%3B - in URL of IE, textfield correctly show the special character á. This is correct.

Can somebody help to fix this issue.

Site uses encoding:

<meta http-equiv="content-type" content="text/html; charset=UTF-8">

Thanks for your help.

veetto
  • 77
  • 6
  • You need to make sure your server is actually serving your pages as UTF-8. – sevenseacat Apr 22 '14 at 08:20
  • @sevenseacat but it works in IE. – veetto Apr 22 '14 at 08:45
  • honestly, that doesn't mean anything. – sevenseacat Apr 22 '14 at 08:46
  • Here the issue is in browsers other than IE. If it is something related to server the issue should be there in all browsers, right? – veetto Apr 22 '14 at 08:57
  • 1
    "á" is *not* a "special character" in HTML, or virtually anywhere else. You are simply not specifying your encoding handling properly all the way through, and are stumbling across browser differences in how those ambiguities are resolved. – deceze Apr 22 '14 at 08:58
  • 1
    possible duplicate of [UTF-8 all the way through](http://stackoverflow.com/questions/279170/utf-8-all-the-way-through) – deceze Apr 22 '14 at 08:58

0 Answers0