blob: c73786807d3b069d0266752d857a9fff344543fb [file] [log] [blame]
Gabriel Krisman Bertazi955405d2019-04-25 13:38:44 -04001The utf8data.h file in this directory is generated from the Unicode
Gabriel Krisman Bertazi1215d232019-04-25 13:59:17 -04002Character Database for version 12.1.0 of the Unicode standard.
Gabriel Krisman Bertazi955405d2019-04-25 13:38:44 -04003
4The full set of files can be found here:
5
Gabriel Krisman Bertazi1215d232019-04-25 13:59:17 -04006 http://www.unicode.org/Public/12.1.0/ucd/
7
Gabriel Krisman Bertazi955405d2019-04-25 13:38:44 -04008Individual source links:
9
Theodore Ts'o7fb64132019-05-12 13:26:08 -040010 https://www.unicode.org/Public/12.1.0/ucd/CaseFolding.txt
11 https://www.unicode.org/Public/12.1.0/ucd/DerivedAge.txt
12 https://www.unicode.org/Public/12.1.0/ucd/extracted/DerivedCombiningClass.txt
13 https://www.unicode.org/Public/12.1.0/ucd/DerivedCoreProperties.txt
14 https://www.unicode.org/Public/12.1.0/ucd/NormalizationCorrections.txt
15 https://www.unicode.org/Public/12.1.0/ucd/NormalizationTest.txt
16 https://www.unicode.org/Public/12.1.0/ucd/UnicodeData.txt
Gabriel Krisman Bertazi955405d2019-04-25 13:38:44 -040017
18md5sums (verify by running "md5sum -c README.utf8data"):
19
Gabriel Krisman Bertazi1215d232019-04-25 13:59:17 -040020 900e76da1d822a160fd6b8c0b1d70094 CaseFolding.txt
21 131256380bff4fea8ad4a851616f2f10 DerivedAge.txt
22 e731a4089b30002144e107e3d6f8d1fa DerivedCombiningClass.txt
23 a47c9fbd7ff92a9b261ba9831e68778a DerivedCoreProperties.txt
24 fcab6dad15e440879d92f315978f93d3 NormalizationCorrections.txt
25 f9ff1c55a60decf436100f791b44aa98 NormalizationTest.txt
26 755f6af699f8c8d2d958da411f78f6c6 UnicodeData.txt
Gabriel Krisman Bertazi955405d2019-04-25 13:38:44 -040027
28sha1sums (verify by running "sha1sum -c README.utf8data"):
29
Gabriel Krisman Bertazi1215d232019-04-25 13:59:17 -040030 dc9245f6803c4ac99555c361f5052e0b13eb779b CaseFolding.txt
31 3281104f237184cdb5d869e86eb8573678ada7da DerivedAge.txt
32 2f5f995ccb96e0fa84b15151b35d5e2681535175 DerivedCombiningClass.txt
33 5b8698a3fcd5018e1987f296b02e2c17e696415e DerivedCoreProperties.txt
34 cd83935fbc012345d8792d2c704f69497e753835 NormalizationCorrections.txt
35 ea419aae505b337b0d99a83fa83fe58ddff7c19f NormalizationTest.txt
36 dc973c0fc93d6f09d9ab9f70d1c9f89c447f0526 UnicodeData.txt
37
Gabriel Krisman Bertazi955405d2019-04-25 13:38:44 -040038
39To update to the newer version of the Unicode standard, the latest
40released version of the UCD can be found here:
41
42 http://www.unicode.org/Public/UCD/latest/
43
Masahiro Yamada28ba53c2019-04-28 13:45:36 -040044Then, build under fs/unicode/ with REGENERATE_UTF8DATA=1:
Gabriel Krisman Bertazi955405d2019-04-25 13:38:44 -040045
Masahiro Yamada28ba53c2019-04-28 13:45:36 -040046 make REGENERATE_UTF8DATA=1 fs/unicode/
Gabriel Krisman Bertazi955405d2019-04-25 13:38:44 -040047
Masahiro Yamada28ba53c2019-04-28 13:45:36 -040048After sanity checking the newly generated utf8data.h file (the
Gabriel Krisman Bertazi1215d232019-04-25 13:59:17 -040049version generated from the 12.1.0 UCD should be 4,109 lines long, and
50have a total size of 324k) and/or comparing it with the older version
Masahiro Yamada28ba53c2019-04-28 13:45:36 -040051of utf8data.h_shipped, rename it to utf8data.h_shipped.
Gabriel Krisman Bertazi955405d2019-04-25 13:38:44 -040052
53If you are a kernel developer updating to a newer version of the
54Unicode Character Database, please update this README.utf8data file
55with the version of the UCD that was used, the md5sum and sha1sums of
56the *.txt files, before checking in the new versions of the utf8data.h
57and README.utf8data files.