Add locale tool to generate "rollup" UTF-8 src file
authorJohn Marino <draco@marino.st>
Sun, 16 Aug 2015 19:06:50 +0000 (21:06 +0200)
committerJohn Marino <draco@marino.st>
Sun, 16 Aug 2015 20:31:01 +0000 (22:31 +0200)
commit775a693d971d3b6e2e5b71b5566451b0c6d2da0d
tree80f43e119e8448ad8080a91d2b591888bb6deef1
parent95590d9d35b8d503fcd8e43a8615b109f83bde8a
Add locale tool to generate "rollup" UTF-8 src file

The first version of the "common" UTF-8 file was hand-assembled by myself.
This is obviously prone to error and is very hard to maintain (the
previous incarnation was never maintained; not once after it was added).

To address these issues, create a new tool (using cldr2def as inspiration)
to create a composite UTF-8 source files using all available POSIX input
from CLDR.  What can't be generated still comes from a manual fragment
that is added to the common source file at the end.

This allows periodic maintenance when CLDR issues new releases.  We are
converging on using this composite (aka "rollup") file for all UTF-8
locales.
tools/tools/locale/Makefile
tools/tools/locale/etc/common.UTF-8.src [new file with mode: 0644]
tools/tools/locale/etc/en_COMMON.UTF-8.src [deleted file]
tools/tools/locale/etc/manual-input.UTF-8 [new file with mode: 0644]
tools/tools/locale/tools/utf8-rollup.pl [new file with mode: 0644]