为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 5 个回答
  • 9 人有此问题
  • 1 次查看
  • 最后回复者为 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.

由neskow于修改

被采纳的解决方案

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

定位到答案原位置 👍 0

所有回复 (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.

由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?

由neskow于修改

more options

选择的解决方案

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.

由neskow于修改