mywot/firefox — Issue #35: Page encoding affects warning screen
Author: sorgoz
Created: 2012-03-03 16:55:06+00:00
State: open
Labels: Bug

Sami:
Warnings are injected to the page on all platforms except IE. This means the encoding used on the underlying website affects the warning overlay too. Our texts are all encoded in UTF-8, but if the website uses a different encoding, the warning texts can break, especially on languages that use multibyte characters (Russian, Chinese, Japanese, etc.).

Solution: Move the warning to an iframe, which covers the entire page, so the page doesn't mess up the layout or the encoding.

Sergey:
- not reproduced for http://shurik-sammy.chat.ru/ (Windows 1251, Chrome, Firefox)
- bug isn't reproduced on http://greentown.h1.ru with charset=windows-1251 in Chrome.
- I need some sample pages with non-utf8 encoding. Will find them first.