Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Firefox having problems with UTF-16le (Windows default unicode set)

  • 1 ответ
  • 5 имеют эту проблему
  • 1 просмотр
  • Последний ответ от cor-el

more options

I have a website where I have many different languages (English, German, Russian, Old Russian, Polish, French, Italian, Spanish, etc.) and so it is pretty necessary to use a unicode set to accommodate this. For quite awhile, Windows default Unicode set is UTF-16le, so that is what I use, and every page within this site has that coded in the header for browsers to recognise. This site had been tested with Firefox, IE, Opera, Safari, Kylo, and even Netscape, and there was no problem. Within the last couple months, however, Firefox has released updates which have garbled my site, and even when I manually set the encoding to UTF-16le, my links to amazon are rendered completely unusable, and if I navigate away from the page and then click back to a page using the back button, Firefox once again renders it as garbage.

I have a website where I have many different languages (English, German, Russian, Old Russian, Polish, French, Italian, Spanish, etc.) and so it is pretty necessary to use a unicode set to accommodate this. For quite awhile, Windows default Unicode set is UTF-16le, so that is what I use, and every page within this site has that coded in the header for browsers to recognise. This site had been tested with Firefox, IE, Opera, Safari, Kylo, and even Netscape, and there was no problem. Within the last couple months, however, Firefox has released updates which have garbled my site, and even when I manually set the encoding to UTF-16le, my links to amazon are rendered completely unusable, and if I navigate away from the page and then click back to a page using the back button, Firefox once again renders it as garbage.

Все ответы (1)

more options

The server sends the page as UTF-8. You will have to change that to UTF-16 to avoid such problems. Firefox will ignore a BOM in the file if the server specifies an encoding in the HTTP response headers.