encoding: rudimentary TextDecoder support w/o ICU

Also split up the tests.

PR-URL: https://github.com/nodejs/node/pull/14489
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
Timothy Gu committed 2017-08-05 16:40:41 +08:00
1 parent 3b0ef0bf53
commit 365b2e3424
8 files changed
+428 -268

No files matched your search

+7
View File
@@ -1010,6 +1010,12 @@ would be possible by calling a callback more then once.
Used when an attempt is made to use crypto features while Node.js is not
compiled with OpenSSL crypto support.
<a id="ERR_NO_ICU"></a>
### ERR_NO_ICU
Used when an attempt is made to use features that require [ICU][], while
Node.js is not compiled with ICU support.
<a id="ERR_NO_LONGER_SUPPORTED"></a>
### ERR_NO_LONGER_SUPPORTED
@@ -1139,6 +1145,7 @@ installed.
[domains]: domain.html
[event emitter-based]: events.html#events_class_eventemitter
[file descriptors]: https://en.wikipedia.org/wiki/File_descriptor
[ICU]: intl.html#intl_internationalization_support
[online]: http://man7.org/linux/man-pages/man3/errno.3.html
[stream-based]: stream.html
[syscall]: http://man7.org/linux/man-pages/man2/syscall.2.html