Bug 648271 - Add g_unicode_script_to_iso15924()

Add g_unicode_script_to_iso15924() and tests.
This commit is contained in:
Behdad Esfahbod
2011-07-20 19:04:29 -04:00
parent d8d67d1596
commit 7e03b28870
5 changed files with 157 additions and 1 deletions

View File

@@ -475,6 +475,8 @@ typedef enum
G_UNICODE_SCRIPT_MANDAIC /* Mand */
} GUnicodeScript;
guint32 g_unicode_script_to_iso15924 (GUnicodeScript script);
/* Returns TRUE if current locale uses UTF-8 charset. If CHARSET is
* not null, sets *CHARSET to the name of the current locale's
* charset. This value is statically allocated, and should be copied