unicode: Allow noncharacters

Implement unicode corrigendum #9.

https://bugzilla.gnome.org/show_bug.cgi?id=694669
This commit is contained in:
Christian Persch
2013-02-25 14:48:14 +01:00
parent 06a59f889a
commit f91ef4ef15
2 changed files with 4 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ test_unichar_validate (void)
g_assert (g_unichar_validate ('j'));
g_assert (g_unichar_validate (8356));
g_assert (g_unichar_validate (8356));
g_assert (!g_unichar_validate (0xfdd1));
g_assert (g_unichar_validate (0xfdd1));
g_assert (g_unichar_validate (917760));
g_assert (!g_unichar_validate (0x110000));
}