en_US.UTF-8 在哪里定义?

Where is en_US.UTF-8 defined?

en_US.UTF-8 的整理和比较映射的实际定义在哪里?我假设有一些标准文档、参考源代码、and/or 数据 table 在某处可用?

它是 Unicode。

/usr/lib/locale/en_US.utf8/LC_COLLATElocaledef 创建。 man localedef 显示输入路径 /usr/share/i18n/locales.

/usr/share/i18n/locales/en_US § LC_COLLATE 引用文件 iso14651_t1,它引用 iso14651_t1_common,这是一个 file published by ISO,它告诉我们原始来源 unidata-9.0.0.txt. 运行 git clone git://sourceware.org/git/glibc.git 查看这些文件的历史记录。

http://enwp.org/ISO_14651 says the ISO standard and UCA are aligned, so the corresponding file at unicode.org is allkeys.txt.