-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextDecoder should not output BOM #25315
Labels
confirmed-bug
Issues with confirmed bugs.
encoding
Issues and PRs related to the TextEncoder and TextDecoder APIs.
Comments
joyeecheung
added
the
encoding
Issues and PRs related to the TextEncoder and TextDecoder APIs.
label
Jan 2, 2019
cc @nodejs/i18n |
Sorry, pinged the wrong team @nodejs/intl |
2 tasks
PR merged, should be close. |
PR was merged, but the bug still exists. Both failing tests are skipped: node/test/wpt/status/encoding.json Lines 24 to 29 in 7c9ee6d
|
3 tasks
addaleax
added a commit
to addaleax/node
that referenced
this issue
Nov 1, 2019
Do not accept the BOM if it comes from a different encoding, and only discard the BOM after it has actually been read (including when it is spread over multiple chunks in streaming mode). Fixes: nodejs#25315
MylesBorins
pushed a commit
that referenced
this issue
Nov 17, 2019
Do not accept the BOM if it comes from a different encoding, and only discard the BOM after it has actually been read (including when it is spread over multiple chunks in streaming mode). Fixes: #25315 PR-URL: #30132 Reviewed-By: Gus Caplan <[email protected]>
targos
pushed a commit
that referenced
this issue
Dec 1, 2019
Do not accept the BOM if it comes from a different encoding, and only discard the BOM after it has actually been read (including when it is spread over multiple chunks in streaming mode). Fixes: #25315 PR-URL: #30132 Reviewed-By: Gus Caplan <[email protected]>
MylesBorins
pushed a commit
that referenced
this issue
Dec 17, 2019
Do not accept the BOM if it comes from a different encoding, and only discard the BOM after it has actually been read (including when it is spread over multiple chunks in streaming mode). Fixes: #25315 PR-URL: #30132 Reviewed-By: Gus Caplan <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
confirmed-bug
Issues with confirmed bugs.
encoding
Issues and PRs related to the TextEncoder and TextDecoder APIs.
Found when porting encoding WPT into core.
Spec: https://encoding.spec.whatwg.org/#concept-td-serialize
Failing tests:
The text was updated successfully, but these errors were encountered: