Files
tubestation/testing/web-platform/tests/encoding-detection/it-number-one-windows-1252.tentative.html
Henri Sivonen a6307a829a Bug 1631983 - Update chardetng to 0.1.9. r=m_kato
* Avoid misdetecting windows-1252 English as windows-1254.
* Avoid misdetecting windows-1252 English as IBM866.
* Avoid misdetecting windows-1252 English as GBK or EUC-KR.
* Improve Chinese and Japanese detection by not giving single-byte encodings score for letter next to digit.
* Improve Italian, Portuguese, Castilian, Catalan, and Galician detection by taking into account ordinal indicator use.
* Reduce lookup table size.

Differential Revision: https://phabricator.services.mozilla.com/D73237
2020-05-12 13:56:29 +00:00

15 lines
390 B
HTML

<!doctype html>
<title>fi windows-1252</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<p>Nº1</p>
<script>
setup({explicit_done:true});
onload = function() {
test(function() {
assert_equals(document.characterSet, "windows-1252", 'Expected windows-1252');
}, "Check detection result");
done();
};
</script>