Support converting utf-16 files when importing w3c tests
Previously, the test converter assumed that input files are always valid utf-8; this change makes the converter also support utf-16 files. There are some files in the wpt repo that are not valid utf-8 but are valid utf-16, e.g. web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html. BUG=463001 Review-Url: https://codereview.chromium.org/2037743002 Cr-Commit-Position: refs/heads/master@{#397775}
Showing
Please register or sign in to comment