xfs
[Top] [All Lists]

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

To: Ben Myers <bpm@xxxxxxx>
Subject: Re: [PATCH 06/10] xfs: add unicode character database files
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 23 Sep 2014 06:54:38 +1000
Cc: linux-fsdevel@xxxxxxxxxxxxxxx, tinguely@xxxxxxx, olaf@xxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20140918201440.GI4482@xxxxxxx>
References: <20140918195650.GI19952@xxxxxxx> <20140918201440.GI4482@xxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Sep 18, 2014 at 03:14:40PM -0500, Ben Myers wrote:
> From: Olaf Weber <olaf@xxxxxxx>
> 
> 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@xxxxxxx>
> ---
> [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@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>