mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Christoph Hellwig](/assets/img/avatar_default.png)
Turn the CONFIG_UNICODE symbol into a tristate that generates some always
built in code and remove the confusing CONFIG_UNICODE_UTF8_DATA symbol.
Note that a lot of the IS_ENABLED() checks could be turned from cpp
statements into normal ifs, but this change is intended to be fairly
mechanic, so that should be cleaned up later.
Fixes: 2b3d047870
("unicode: Add utf8-data module")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
15 lines
484 B
Text
15 lines
484 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# UTF-8 normalization
|
|
#
|
|
config UNICODE
|
|
tristate "UTF-8 normalization and casefolding support"
|
|
help
|
|
Say Y here to enable UTF-8 NFD normalization and NFD+CF casefolding
|
|
support. If you say M here the large table of case foldings will
|
|
be a separate loadable module that gets requested only when a file
|
|
system actually use it.
|
|
|
|
config UNICODE_NORMALIZATION_SELFTEST
|
|
tristate "Test UTF-8 normalization support"
|
|
depends on UNICODE
|