How to force plugin charset/encoding?
Hi! I'm having a trouble with my mobile plugin: it shows me the new elements added by scripting with a different charset of the page. E.g. I can read "cuadrúpedo" but the same word in my plugin show "cuadrÂ¡pedo".
I tryed writing the next line to the beginning of my plugin, but it didn't work:
Then, I wrote a "converter function" which replaces the special characters with unicode, like the next line, bub it didn't work.
What can I do?
str.replace( /ú/g, "/xfa־" );
Have you tried using UTF-8 as the charset on your page?
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Yes, but the problem is not the page (it have utf8). The problem are elements added by the script.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread