Add hangul composition and decomposition to unicode normalization.

2003-12-04  Noah Levitt  <nlevitt@columbia.edu>

	* glib/gunidecomp.c: Add hangul composition and decomposition to
	unicode normalization. (#100456)

	* tests/unicode-normalize.c: Test hangul.
This commit is contained in:
Noah Levitt
2003-12-04 19:47:52 +00:00
committed by Noah Levitt
parent c9ca629947
commit 45b1590923
8 changed files with 167 additions and 23 deletions

View File

@@ -23,13 +23,6 @@ decode (const gchar *input)
exit (1);
}
/* FIXME: We don't handle the Hangul syllables */
if (ch >= 0xac00 && ch <= 0xd7ff) /* Hangul syllables */
{
g_string_free (result, TRUE);
return NULL;
}
g_string_append_unichar (result, ch);
while (input[offset] && input[offset] != ' ')