On Mon, Nov 26, 2018 at 05:19:45PM -0500, Gabriel Krisman Bertazi wrote:
> From: Gabriel Krisman Bertazi <[email protected]>
>
> We need this such that we can do normalization and casefolding
> compatible with the kernel, in order to properly support fsck
> verification and rehashing.
>
> The UTF-8 11.0 implementation is copied and adapted from the kernel code
> to ensure maximum compatibility. The decode trie in utf8data.h is
> generated using a script and the UCD sources in the kernel code.
>
> Signed-off-by: Gabriel Krisman Bertazi <[email protected]>
One more thought. Is there any test cases we can add here? I assume
the SGI folks must have had some test code that they used when they
were developing their trie code. Was any of that released?
Maybe there is some Unicode normalization and case folding test
vectors we can grab?
Thanks,
- Ted
"Theodore Y. Ts'o" <[email protected]> writes:
> One more thought. Is there any test cases we can add here? I assume
> the SGI folks must have had some test code that they used when they
> were developing their trie code. Was any of that released?
>
> Maybe there is some Unicode normalization and case folding test
> vectors we can grab?
Since these file are generated and imported from the kernel code, I added
the tests there instead. Should I duplicate or move them to here?
--
Gabriel Krisman Bertazi