mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-17 23:47:52 +02:00
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:
@@ -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] != ' ')
|
||||
|
Reference in New Issue
Block a user