国际化支持


【Internationalization support】

Node.js 有许多功能,使编写国际化程序变得更容易。其中一些功能包括:

【Node.js has many features that make it easier to write internationalized programs. Some of them are:】

Node.js 和底层的 V8 引擎使用 国际 Unicode 组件(ICU) 在本地 C/C++ 代码中实现这些功能。Node.js 默认提供完整的 ICU 数据集。然而,由于 ICU 数据文件的大小,提供了几种选项用于在构建或运行 Node.js 时自定义 ICU 数据集。

【Node.js and the underlying V8 engine use International Components for Unicode (ICU) to implement these features in native C/C++ code. The full ICU data set is provided by Node.js by default. However, due to the size of the ICU data file, several options are provided for customizing the ICU data set either when building or running Node.js.】