HTML filtering breaks webpages of Shift_JIS encoding #3399
Comments
|
This is part 1 of the fix: if a text encoding is not supported, bail out of enforcing HTML filtering. I thought I had it fixed when I fixed #3397, but clearly this was not working as intended. I tested the repro cases here, and HTML filtering was correctly skipped, since the encoding for Shift_JIS is not available yet. |
|
Describe the issueI have faced same issue. Just adding information. One or more specific URLs where the issue occurshttp://www.wowkorea.jp/starnews/400626.html Screenshot in which the issue can be seenSteps for anyone to reproduce the issue
Your settings
Your filter listsjust below only, no other filters. .jp##^div[id^="div-gpt-ad"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment





Describe the issue
An issue similar to #3391 and #3397 also happens when the webpage's encoding is Shift_JIS. I think you are aware of this regarding to your comment, so I'm glad if you could add support for Shift_JIS.
One or more specific URLs where the issue occurs
http://www.sony.jp/
http://www.itmedia.co.jp/
Screenshot in which the issue can be seen
Left side is good, right side is broken.
www.sony.jp

www.itmedia.co.jp

Steps for anyone to reproduce the issue
http://www.sony.jp/orhttp://www.itmedia.co.jp/. The page is broken.Your settings
Your filter lists
Default + JPN
Your custom filters (if any)
itmedia.co.jp##^script:has-text(document.write)
sony.jp##^script:has-text(sony-marketing)
The text was updated successfully, but these errors were encountered: