I need some idea for detect the language of a String, by ASP, .net or PHP or others
Basicly, I need a function, input a UTF8 string, like:
"this is a english ..lalalala"
"বাংলাদেশ বাংলাদেশবাংলাদেশ " ( I don't know what's this language, I copy from google)
then through the function, output language like "EN, CN, JP, KR etc..
I thing if the string is long enough, there should have some way to do it. Does anyone see these type of thing before?
Edit: sorry, this forum cannot post other language, all code changed, hope you still can understand.
[edited by: Eric at 5:05 pm (utc) on Oct. 14, 2007]