mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
buffer: add buffer.transcode
Add buffer.transcode(source, from, to) method. Primarily uses ICU to transcode a buffer's content from one of Node.js' supported encodings to another. Originally part of a proposal to add a new unicode module. Decided to refactor the approach towrds individual PRs without a new module. Refs: https://github.com/nodejs/node/pull/8075 PR-URL: https://github.com/nodejs/node/pull/9038 Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
1 parent
1cf55f806b
commit
e8eaaa7724
9 files changed
+437
-39
No files matched your search
@@ -20,9 +20,7 @@
|
||||
'type': 'none',
|
||||
'toolsets': [ 'target' ],
|
||||
'direct_dependent_settings': {
|
||||
'defines': [
|
||||
'UCONFIG_NO_CONVERSION=1',
|
||||
]
|
||||
'defines': []
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user