Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 1 trả lời
  • 5 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Tất cả các câu trả lời (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.