Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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

  • 5 відповідей
  • 9 мають цю проблему
  • 8 переглядів
  • Остання відповідь від 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