./mach run http://people.mozilla.org/~nhirata/html_tp/utf16j-find.html Should show : あ い う え お あ い う え お あ い う え お あ い う え お Actual: <img width="770" alt="screen shot 2016-02-16 at 6 01 38 pm" src="https://cloud.githubusercontent.com/assets/1091409/13097609/607105c2-d4d7-11e5-9a0d-0163c1ebca2c.png">
Activity
frewsxcv commentedon Feb 17, 2016
Possibly a duplicate of #6414
[-]UTF 16 is not supported.[/-][+]xml:lang="ja" is not supported.[/+]SimonSapin commentedon Feb 17, 2016
The important part is not
xml:lang="ja", it’s that the file starts with bytes FF FE which is the Byte Order Mark for UTF-16-LE.Since servo/html5ever@2f4f64b / servo/html5ever#188 there is support for this in html5ever, but we still need to change Servo to use that new bytes-based API.
Ms2ger commentedon Feb 17, 2016
Dupe
Use html5ever’s BytesParser.
Auto merge of #9677 - servo:html5ever-bytes, r=<try>
Use html5ever’s BytesParser.
Use html5ever’s BytesParser.
Use html5ever’s BytesParser.
Use html5ever’s BytesParser.
Use html5ever’s BytesParser.