ajax - Character encoding issue when loading a div using jQuery.load() -


I have a page encoded with UTF-8 which will encode another page encoded with UPF-8 Also logs in. In the second one to load a page in a page, I use them in the jQuery (Load) method of 1.4.2. Everything works fine in Chrome, but all non-American characters in Firefox are shown as a strange symbol. If I use FireBug to inspect the loaded device, then I can see the internal page (loaded with a thor), encoding charset = ISO-885 9-1.

What am I missing?

TIA

Check the HTTP charset of the internal page: its web server It should serve

  content-type: text / html; Charset = utf-8  

Or you may have to set it on a script that is requesting through Ajax.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -