Differiate language of a string?
| From: | Tan Ai Leen | Date: | Fri, 09 Jan 2004 11:13:45 +0000 |
| Subject: | Differiate language of a string? | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-651@lists.php.net to get a copy of this message | ||
Hi,
How do I figure out the language of the string? Can this is done with mb_detect_encoding()? Did anyone try that out? I am going to try it tonight. Has anyone any issues when using this function? I also need to use the mb_convert_encoding() function. Is the detection(chinese, thai) and convertion(from utf-8 to ucs-2) correct?
Thanks,
Ai Leen