Determine the best encoding/script for a given text

2007-03-13 Thread Gaurav Jain
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

Re: [gtk-i18n-list] Determine the best encoding/script for a given text

2007-03-13 Thread mpsuzuki
Hi, Although there are some characters that is used in PRC only, or Taiwan only etc, to determine Traditional/ Simplified Chinese or Vietnamese, taking single codepoint is not enough. Usually a string with finite length should be used, but, still it is not definitive. I suppose, glib designer