[gucharmap] Update gucharmap_get_unicode_name()
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gucharmap] Update gucharmap_get_unicode_name()
- Date: Mon, 8 Mar 2010 17:55:45 +0000 (UTC)
commit cd67156db8d62aed02b41246f23a5a7e6b392cfa
Author: Christian Persch <chpe gnome org>
Date: Mon Mar 8 15:12:22 2010 +0100
Update gucharmap_get_unicode_name()
Add code points U+2A700..U+2B734 (CJK Unified Ideographs Extension C),
added in Unicode 5.2.0.
Bug #606199.
gucharmap/gucharmap-unicode-info.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gucharmap/gucharmap-unicode-info.c b/gucharmap/gucharmap-unicode-info.c
index 7a99416..ddc1245 100644
--- a/gucharmap/gucharmap-unicode-info.c
+++ b/gucharmap/gucharmap-unicode-info.c
@@ -67,7 +67,8 @@ gucharmap_get_unicode_name (gunichar wc)
if ((wc >= 0x3400 && wc <= 0x4DB5)
|| (wc >= 0x4e00 && wc <= 0x9fcb)
- || (wc >= 0x20000 && wc <= 0x2A6D6))
+ || (wc >= 0x20000 && wc <= 0x2A6D6)
+ || (wc >= 0x2a700 && wc <= 0x2b734))
{
g_snprintf (buf, sizeof (buf), "CJK UNIFIED IDEOGRAPH-%04X", wc);
return buf;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]