How to pick english sentences between many languages?
Moderator: General Moderators
Re: How to pick english sentences between many languages?
My PHP answer would be "check if the binary string length doesn't match the multibyte string length", but I don't how close you can get to that with Postgre (not counting doing all the work in PHP).
Re: How to pick english sentences between many languages?
There's a class in PEAR called Text_LanguageDetect that does want you want. It works pretty well. http://pear.php.net/manual/en/package.t ... detect.php