-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Can't extend encoding by hack Buffer.isEncoding anymore #1547
Labels
string_decoder
Issues and PRs related to the string_decoder subsystem.
Comments
mscdex
added
the
string_decoder
Issues and PRs related to the string_decoder subsystem.
label
Apr 28, 2015
@mscdex Looks like that could be undone easily enough without any real downsides. You on it? |
mscdex
added a commit
to mscdex/io.js
that referenced
this issue
Apr 28, 2015
Some modules are monkey-patching Buffer.isEncoding, so without this they cannot do that. Fixes: nodejs#1547
mscdex
added a commit
to mscdex/io.js
that referenced
this issue
Apr 28, 2015
Some modules are monkey-patching Buffer.isEncoding, so without this they cannot do that. Fixes: nodejs#1547
Fixed in 0fa6c4a. |
Fishrock123
pushed a commit
to Fishrock123/node
that referenced
this issue
Apr 29, 2015
Some modules are monkey-patching Buffer.isEncoding, so without this they cannot do that. Fixes: nodejs#1547 PR-URL: nodejs#1548 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Fishrock123
pushed a commit
to Fishrock123/node
that referenced
this issue
May 14, 2015
Some modules are monkey-patching Buffer.isEncoding, so without this they cannot do that. Fixes: nodejs#1547 PR-URL: nodejs#1548 PORT-PR-URL: nodejs#1560 PORT-FROM: v2.x / 0fa6c4a Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This was referenced Jun 21, 2023
This was referenced Jul 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
a widely used iconv library iconv-lite can extend encoding by hack Buffer.isEncoding using extendNodeEncodings
but a newly commit 8a94581 cached the Buffer.isEncoding method https://github.com/iojs/io.js/blob/master/lib/string_decoder.js#L3-L9 which made extendNodeEncodings won't work.
The text was updated successfully, but these errors were encountered: