Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Someone might have solved a similar problem here: <a href="https://stackoverflow.com/questions/2607008/jquery-punctuation-for-spanish-o-i-etc-not-working-in-ie8">JQuery punctuation for spanish (&#243;, &#237;, etc.) not working in IE8</a></p> <p>He did the following:</p> <pre><code>header("text/html; charset=iso-8859-1"); </code></pre> <p>Here is some more clues in this answer: <a href="https://stackoverflow.com/questions/553463/jquery-ajax-character-encoding-problem">jQuery AJAX Character Encoding</a></p> <p>What the guy said: "UTF-8 is supposed to handle all accents and foreign chars - why not use it on your data source?</p> <p>Everything should be UTF-8 in the first place. I loaded the files in notepad++, converted to utf-8 and manually changed the charactes to accents were needed. Once done everything's working like a charm.</p> <p>BTW, unless your server is defined to php-process .html files, the files you're loading with ajax aren't getting your iso charset. If you insist on using the iso charset, request a php file instead of an html file, and define the charset in the header (not in the file itself)"</p> <p>Is this helping you?</p> <p>You could always try html friendly codes, and replace them into your searches: <a href="http://webdesign.about.com/od/localization/l/blhtmlcodes-sp.htm" rel="nofollow noreferrer">http://webdesign.about.com/od/localization/l/blhtmlcodes-sp.htm</a></p> <p>Another guy ran into some Spanish character issues here: <a href="http://ianloic.com/2009/12/27/jquery-selector-escaping/" rel="nofollow noreferrer">http://ianloic.com/2009/12/27/jquery-selector-escaping/</a></p> <p>He wrote an escape function, which may not be what you were after:</p> <pre><code>(function($) { if ($) { var escape_re = /[#;&amp;,\.\+\*~':"!\^\$\[\]\(\)=&gt;|\/\\]/, escapeCharacters = { ‘#’: 1, ‘;’: 1, ‘&amp;’: 1, ‘,’: 1, ‘.’: 1, ‘+’: 1, ‘*’: 1, ‘~’: 1, ‘\”: 1, ‘:’: 1, ‘”‘: 1, ‘!’: 1, ‘^’: 1, ‘$’: 1, ‘[': 1, ']‘: 1, ‘(‘: 1, ‘)’: 1, ‘=’: 1, ‘&gt;’: 1, ‘|’: 1, ‘/’: 1, ‘\\’: 1 }; $.escape = function(s){ var ret = ”, offset; if (s &amp;&amp; ((offset = s.search(escape_re)) !== -1)) { // look for an occurence of a special character ret = s.substr(0, offset) + ‘\\’ + s[offset]; for(var i=offset + 1, len=s.length, ch; i &lt; len; i++){ // assume that another special character may occur so we just loop through the rest of the string ch = s[i]; ret += (escapeCharacters[ch]? '\\': '') + ch; } } return ret; }; } })(window.jQuery); </code></pre> <p>hth</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload