1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/util/charset
Volker Lendecke 4171736339 lib: Stay ASCII-compatible for toupper_m/tolower_m
This is an alternative patch for MR2339: It seems that Windows AD in
turkish locale is ASCII-compatible with 'i'. Björn tells me that the
turkish locale is the only one where upper/lower casing letters in the
ASCII range is not compatible to ASCII.

Simplify our code by not calling the locale-specific standard
toupper/tolower for the ASCII range but rely on our tables.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Apr  4 11:45:24 UTC 2022 on sn-devel-184
2022-04-04 11:45:24 +00:00
..
tests lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
charset_macosxfs.c charset_macosxfs.c: fix compilation on macOS 2021-10-13 01:42:35 +00:00
charset_proto.h
charset.h lib: Move utf16_len[_n]() to lib/util/charset/ 2021-01-12 00:10:30 +00:00
codepoints.c lib: Stay ASCII-compatible for toupper_m/tolower_m 2022-04-04 11:45:24 +00:00
convert_string.c util/charset: warn loudly on unexpected E2BIG 2021-06-18 04:27:16 +00:00
iconv.c util/iconv: reject improperly packed UTF-8 2021-06-18 03:39:28 +00:00
pull_push.c lib: Avoid "includes.h" in lib/util/charset/ 2021-01-12 00:10:30 +00:00
util_str.c lib: Avoid "includes.h" in lib/util/charset/ 2021-01-12 00:10:30 +00:00
util_unistr_w.c lib: Avoid "includes.h" in lib/util/charset/ 2021-01-12 00:10:30 +00:00
util_unistr.c lib: Avoid "includes.h" in lib/util/charset/ 2021-01-12 00:10:30 +00:00
weird.c lib: Simplify "weird" charset code 2021-01-12 00:10:30 +00:00
wscript_build lib: Fix 'charset' dependencies 2021-01-12 01:19:26 +00:00
wscript_configure charset: add support for Unicode normalisation with libicu 2019-08-07 06:07:28 +00:00