Determine the best encoding/script for a given text



Hi,

I need to find out the Script code for a given Unicode string.  I
found the API g_unichar_get_script() available in GLIB 2.10 which does
this, but this doesn't seem to have support for Chinese script.  For
e.g., is it possible to find out if the given character falls under
Traditional Chinese or Simplified Chinese code range?  Similarly for
Vietnamese?

Is there any other API available in GLIB that I can use to determine
the best encoding/script for a given text?

Thanks,
Gaurav



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]