diff options
author | Gabriel Krisman Bertazi <krisman@collabora.co.uk> | 2019-04-25 20:51:22 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-04-25 20:51:22 +0300 |
commit | 9d53690f0d4e5686e80f034ea584b7a822b356d3 (patch) | |
tree | c123dcc3f2e193f584acc2560a1358d546e66810 /fs/unicode/utf8n.h | |
parent | a8384c68797ee022f5fd7bcef5f4cc57863d4042 (diff) | |
download | linux-9d53690f0d4e5686e80f034ea584b7a822b356d3.tar.xz |
unicode: implement higher level API for string handling
This patch integrates the utf8n patches with some higher level API to
perform UTF-8 string comparison, normalization and casefolding
operations. Implemented is a variation of NFD, and casefold is
performed by doing full casefold on top of NFD. These algorithms are
based on the core implemented by Olaf Weber from SGI.
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/unicode/utf8n.h')
-rw-r--r-- | fs/unicode/utf8n.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/unicode/utf8n.h b/fs/unicode/utf8n.h index b63a9091dc39..a120638014c1 100644 --- a/fs/unicode/utf8n.h +++ b/fs/unicode/utf8n.h @@ -32,6 +32,7 @@ /* Highest unicode version supported by the data tables. */ extern int utf8version_is_supported(u8 maj, u8 min, u8 rev); +extern int utf8version_latest(void); /* * Look for the correct const struct utf8data for a unicode version. |