This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

For some sites, all page content is completely replaced with unformatted strings of Chinese characters

  • 5 replies
  • 9 have this problem
  • 1 view
  • Last reply by neskow

more options

I recently visited a Chinese social media website. Since then, many sites will only appear as long, long pages of Chinese characters. If I look at the page source, it is just one long, long string of characters. It is by no means all sites, but it is many, and seemingly at random. This problem only affects Firefox - the sites load properly in Chrome.

I've tried clearing the cache, but that didn't make a difference. I deleted all cookies, but no luck. This seems to be different from all the other "random Chinese characters" problems, but I'm wondering if anyone has encountered this before. I seriously have no idea what's going on. Like I said - only affects Firefox, even though I visited the Chinese site with both Firefox and Chrome.

I recently visited a Chinese social media website. Since then, many sites will only appear as long, long pages of Chinese characters. If I look at the page source, it is just one long, long string of characters. It is by no means all sites, but it is many, and seemingly at random. This problem only affects Firefox - the sites load properly in Chrome. I've tried clearing the cache, but that didn't make a difference. I deleted all cookies, but no luck. This seems to be different from all the other "random Chinese characters" problems, but I'm wondering if anyone has encountered this before. I seriously have no idea what's going on. Like I said - only affects Firefox, even though I visited the Chinese site with both Firefox and Chrome.

Modified by neskow

Chosen solution

Please read this article to see if it helps. The Chinese website might have somehow changed your Character Encoding settings and didn't revert it back to your original one:


http://chinesehacks.com/software/change-the-character-encoding-for-a-website/

Here's another one, but quite lengthy though:

http://forums.mozillazine.org/viewtopic.php?f=38&t=1988057

Read this answer in context 👍 0

All Replies (5)

more options

Here's a screencap. The url, if you can't read it, is http://www.mcclatchydc.com/

Definitely does not normally look like that in any way.

Modified by neskow

more options

I went to the link and it displayed normally to me. And those characters in your screenshots are combination of Chinese as well as symbols, which have no meaning whatsoever. Have you done a virus/spyware checks of your PC to see if it catches anything? That Chinese social media website might have installed some spywares in your PC when you were there.

more options

I've run some scans, but it's entirely possible that something slipped through. I have a pretty robust firewall, but the problem is obviously something on my end. I'm wondering if it has to do with an interaction between something on my computer and the hosting or architecture of the pages I've visited. Most sites load fine, but there have been two or three that do this.

Also, because it's only Firefox, is there something about Firefox that would be vulnerable where Chrome isn't?

Modified by neskow

more options

Chosen Solution

Please read this article to see if it helps. The Chinese website might have somehow changed your Character Encoding settings and didn't revert it back to your original one:


http://chinesehacks.com/software/change-the-character-encoding-for-a-website/

Here's another one, but quite lengthy though:

http://forums.mozillazine.org/viewtopic.php?f=38&t=1988057

more options

Yeah, changing the character encoding to universal did it... for most sites. At least now I'm starting to see where the problems arise. Thanks!

EDIT: Everything works now. There are two places where you can set default character encoding (View>character encoding and options>content>fonts&colors>advanced>character encoding), and the two didn't match up on my computer. One was UTF-8 and one was UTF-16. I don't know if it's coincidental that the last problem site displayed properly after I changed them to both match, but it's probably worth noting.

Modified by neskow