@@ -16,6 +16,7 @@ programs. Some of them are:
16
16
- The [ WHATWG URL parser] [ ] 's [ internationalized domain names] [ ] (IDNs) support
17
17
- [ ` require('buffer').transcode() ` ] [ ]
18
18
- More accurate [ REPL] [ ] line editing
19
+ - [ ` require('util').TextDecoder ` ] [ ]
19
20
20
21
Node.js (and its underlying V8 engine) uses [ ICU] [ ] to implement these features
21
22
in native C/C++ code. However, some of them require a very large ICU data file
@@ -51,6 +52,7 @@ option:
51
52
| [ WHATWG URL Parser] [ ] | partial (no IDN support) | full | full | full
52
53
| [ ` require('buffer').transcode() ` ] [ ] | none (function does not exist) | full | full | full
53
54
| [ REPL] [ ] | partial (inaccurate line editing) | full | full | full
55
+ | [ ` require('util').TextDecoder ` ] [ ] | none (class does not exist) | partial/full (depends on OS) | partial (Unicode-only) | full
54
56
55
57
* Note* : The "(not locale-aware)" designation denotes that the function carries
56
58
out its operation just like the non-` Locale ` version of the function, if one
@@ -184,26 +186,27 @@ to be helpful:
184
186
- [ Test262] [ ] : ECMAScript's official conformance test suite includes a section
185
187
dedicated to ECMA-402.
186
188
187
- [ btest402 ] : https://github.com/srl295/btest402
188
- [ BUILDING.md ] : https://github.com/nodejs/node/blob/master/BUILDING.md
189
- [ BUILDING.md#full-icu ] : https://github.com/nodejs/node/blob/master/BUILDING.md#build-with-full-icu-support-all-locales-supported-by-icu
190
- [ `Date.prototype.toLocaleString()` ] : https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString
191
- [ ECMA-262 ] : https://tc39.github.io/ecma262/
192
- [ ECMA-402 ] : https://tc39.github.io/ecma402/
193
- [ full-icu ] : https://www.npmjs.com/package/full-icu
194
- [ ICU ] : http://icu-project.org/
195
189
[ "ICU Data" ] : http://userguide.icu-project.org/icudata
196
190
[ `--icu-data-dir` ] : cli.html#cli_icu_data_dir_file
197
- [ internationalized domain names ] : https://en.wikipedia .org/wiki/Internationalized_domain_name
191
+ [ `Date.prototype.toLocaleString()` ] : https://developer.mozilla .org/en/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString
198
192
[ `Intl` ] : https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Intl
199
193
[ `Intl.DateTimeFormat` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
200
194
[ `NODE_ICU_DATA` ] : cli.html#cli_node_icu_data_file
201
195
[ `Number.prototype.toLocaleString()` ] : https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString
202
- [ REPL ] : repl.html#repl_repl
203
196
[ `require('buffer').transcode()` ] : buffer.html#buffer_buffer_transcode_source_fromenc_toenc
197
+ [ `require('util').TextDecoder` ] : util.html#util_class_util_textdecoder
204
198
[ `String.prototype.localeCompare()` ] : https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare
205
199
[ `String.prototype.normalize()` ] : https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/normalize
206
200
[ `String.prototype.toLowerCase()` ] : https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/toLowerCase
207
201
[ `String.prototype.toUpperCase()` ] : https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/toUpperCase
202
+ [ BUILDING.md ] : https://github.com/nodejs/node/blob/master/BUILDING.md
203
+ [ BUILDING.md#full-icu ] : https://github.com/nodejs/node/blob/master/BUILDING.md#build-with-full-icu-support-all-locales-supported-by-icu
204
+ [ ECMA-262 ] : https://tc39.github.io/ecma262/
205
+ [ ECMA-402 ] : https://tc39.github.io/ecma402/
206
+ [ ICU ] : http://icu-project.org/
207
+ [ REPL ] : repl.html#repl_repl
208
208
[ Test262 ] : https://github.com/tc39/test262/tree/master/test/intl402
209
209
[ WHATWG URL parser ] : url.html#url_the_whatwg_url_api
210
+ [ btest402 ] : https://github.com/srl295/btest402
211
+ [ full-icu ] : https://www.npmjs.com/package/full-icu
212
+ [ internationalized domain names ] : https://en.wikipedia.org/wiki/Internationalized_domain_name
0 commit comments