If a character can't be converted, don't replace it with a NUL byte, but
authorMatthias Clasen <mclasen@redhat.com>
Sat, 5 Aug 2006 21:53:49 +0000 (21:53 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 5 Aug 2006 21:53:49 +0000 (21:53 +0000)
commit994d642cde899e1aaba90a2e01aef68cc719d784
treea5393fcd41a2795ed4995e6e70830c180cdfb0ad
parentce2d5c4b0c34fbdfa64b20e635839d37e2886ae6
If a character can't be converted, don't replace it with a NUL byte, but

2006-08-05  Matthias Clasen  <mclasen@redhat.com>

* glib/guniprop.c (g_unichar_toupper, g_unichar_tolower)
(real_toupper, real_tolower): If a character can't be converted,
don't replace it with a NUL byte, but leave it unchanged.
(#348491, Nikolai Weibull)

* tests/unicode-caseconv.c: Adapt to this change.

* tests/unicode-caseconv.c (main): Add a comment to point out
a quirk in the test data that we are working around here.
ChangeLog
ChangeLog.pre-2-12
glib/guniprop.c
tests/unicode-caseconv.c