Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

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

  • 1 Antwort
  • 5 haben dieses Problem
  • 1 Aufruf
  • Letzte Antwort von 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.

Alle Antworten (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.