mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
script: Use chardetng to guess encoding when all else fails (#41435)
[`chardetng`](https://github.com/hsivonen/chardetng) is the library used by gecko to guess encodings. This makes https://intsys.co.jp/game/panepon/p01/index.html load with the correct encoding. Notably, that site uses shift-jis but has no encoding declaration of any kind. Part of https://github.com/servo/servo/issues/6414 --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
3
tests/wpt/meta/encoding-detection/utf-8.html.ini
vendored
Normal file
3
tests/wpt/meta/encoding-detection/utf-8.html.ini
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[utf-8.html]
|
||||
[Check detection result]
|
||||
expected: FAIL
|
||||
Reference in New Issue
Block a user