Re: [PATCH 06/10] xfs: add unicode character database files

Dave Chinner
2014-09-22T20:54:46Z

On Thu, Sep 18, 2014 at 03:14:40PM -0500, Ben Myers wrote:
> From: Olaf Weber <olaf@sgi.com>
>
> Add files from the Unicode Character Database, version 7.0.0, to the source.
> A helper program that generates a trie used for normalization from these
> files is part of a separate commit.
>
> Signed-off-by: Olaf Weber <olaf@sgi.com>
> ---
> [v2: Removed large unicode files prior to posting. Get them as below. -bpm]
> [v3: Moved files to ucd8norm directory. -bpm]
>
> cd fs/xfs/utf8norm/ucd
> wget http://www.unicode.org/Public/7.0.0/ucd/CaseFolding.txt
> wget http://www.unicode.org/Public/7.0.0/ucd/DerivedAge.txt
> wget http://www.unicode.org/Public/7.0.0/ucd/extracted/DerivedCombiningClass.txt
> wget http://www.unicode.org/Public/7.0.0/ucd/DerivedCoreProperties.txt
> wget http://www.unicode.org/Public/7.0.0/ucd/NormalizationCorrections.txt
> wget http://www.unicode.org/Public/7.0.0/ucd/NormalizationTest.txt
> wget http://www.unicode.org/Public/7.0.0/ucd/UnicodeData.txt
> for e in *.txt
> do
> base=`basename $e .txt`
> mv $e $base-7.0.0.txt
> done
> ---
> fs/xfs/utf8norm/ucd/README | 33 +++++++++++++++++++++++++++++++++

This probably needs to live somewhere under lib/. There's nothing
XFS specific in it and the translations should be the same for
anything that wants to parse unicode.

Cheers,

Dave.

--
Dave Chinner
david@fromorbit.com