Node.js v18.12.1 documentation


Table of contents

Internationalization support国际化支持#

Node.js has many features that make it easier to write internationalized programs. Some of them are:Node.js具有许多特性,可以更容易地编写国际化程序。其中包括:

Node.js and the underlying V8 engine use International Components for Unicode (ICU) to implement these features in native C/C++ code. Node.js和底层V8引擎使用Unicode国际组件(ICU)以本机C/C++代码实现这些功能。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.默认情况下,Node.js提供完整的ICU数据集。然而,由于ICU数据文件的大小,在构建或运行Node.js时,提供了几个选项来定制ICU数据集。