After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 633436 - g_unichar_toupper/lower with any character types
g_unichar_toupper/lower with any character types
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: i18n
2.27.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-10-29 08:13 UTC by Carlos Garcia Campos
Modified: 2018-05-24 12:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Carlos Garcia Campos 2010-10-29 08:13:39 UTC
g_unichar_tolower() and toupper() only work with uppercase/lowercase or titlecase letters, however there are other characters defined in UnicodeData.txt that have a 1:1 case mapping. ICU for example, doesn't restrict single character case mapping to upper/lower and title letters:

"A character is considered to have a lowercase, uppercase, or title case equivalent if there is a respective "simple" case mapping specified for the character in the Unicode Character Database (UnicodeData.txt). If a character has no mapping equivalent, the result is the character itself."

See: http://userguide.icu-project.org/transforms/casemappings
Comment 1 GNOME Infrastructure Team 2018-05-24 12:51:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/366.