From 479928953bc38e1dc7ee31cd560e1e49accb53b1 Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Tue, 5 Aug 2003 03:41:34 +0000 Subject: [PATCH] We do handle > BMP now, so test it. 2003-08-04 Noah Levitt * tests/unicode-normalize.c: We do handle > BMP now, so test it. --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ ChangeLog.pre-2-12 | 4 ++++ ChangeLog.pre-2-4 | 4 ++++ ChangeLog.pre-2-6 | 4 ++++ ChangeLog.pre-2-8 | 4 ++++ tests/unicode-normalize.c | 5 ++--- 7 files changed, 26 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 40b26a6b..884c60dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-08-04 Noah Levitt + + * tests/unicode-normalize.c: We do handle > BMP now, so test it. + 2003-07-31 Noah Levitt * tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 40b26a6b..884c60dd 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +2003-08-04 Noah Levitt + + * tests/unicode-normalize.c: We do handle > BMP now, so test it. + 2003-07-31 Noah Levitt * tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727) diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 40b26a6b..884c60dd 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,7 @@ +2003-08-04 Noah Levitt + + * tests/unicode-normalize.c: We do handle > BMP now, so test it. + 2003-07-31 Noah Levitt * tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727) diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 40b26a6b..884c60dd 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,7 @@ +2003-08-04 Noah Levitt + + * tests/unicode-normalize.c: We do handle > BMP now, so test it. + 2003-07-31 Noah Levitt * tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727) diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 40b26a6b..884c60dd 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +2003-08-04 Noah Levitt + + * tests/unicode-normalize.c: We do handle > BMP now, so test it. + 2003-07-31 Noah Levitt * tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 40b26a6b..884c60dd 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +2003-08-04 Noah Levitt + + * tests/unicode-normalize.c: We do handle > BMP now, so test it. + 2003-07-31 Noah Levitt * tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727) diff --git a/tests/unicode-normalize.c b/tests/unicode-normalize.c index 1d9bf359..faa80a5a 100644 --- a/tests/unicode-normalize.c +++ b/tests/unicode-normalize.c @@ -23,9 +23,8 @@ decode (const gchar *input) exit (1); } - /* FIXME: We don't handle the > BMP or Hangul syllables */ - if (ch > 0xffff || /* > BMP */ - (ch >= 0xac00 && ch <= 0xd7ff)) /* Hangul syllables */ + /* FIXME: We don't handle the Hangul syllables */ + if (ch >= 0xac00 && ch <= 0xd7ff) /* Hangul syllables */ { g_string_free (result, TRUE); return NULL; -- 2.34.1