summaryrefslogtreecommitdiff
path: root/tools/icu
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2016-10-11 14:12:31 -0700
committerJames M Snell <jasnell@gmail.com>2016-10-25 10:12:02 -0700
commite8eaaa772414e6193702f3933cbee919d6fcdc95 (patch)
tree22268649a84bd380c35c54d0f3a06337589d36f5 /tools/icu
parent1cf55f806b8a483398272d32a65882fc7b1933d0 (diff)
downloadandroid-node-v8-e8eaaa772414e6193702f3933cbee919d6fcdc95.tar.gz
android-node-v8-e8eaaa772414e6193702f3933cbee919d6fcdc95.tar.bz2
android-node-v8-e8eaaa772414e6193702f3933cbee919d6fcdc95.zip
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>
Diffstat (limited to 'tools/icu')
-rw-r--r--tools/icu/icu-generic.gyp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/icu/icu-generic.gyp b/tools/icu/icu-generic.gyp
index 3a284461d8..cf615717e8 100644
--- a/tools/icu/icu-generic.gyp
+++ b/tools/icu/icu-generic.gyp
@@ -20,9 +20,7 @@
'type': 'none',
'toolsets': [ 'target' ],
'direct_dependent_settings': {
- 'defines': [
- 'UCONFIG_NO_CONVERSION=1',
- ]
+ 'defines': []
},
},
{