homepage Welcome to WebmasterWorld Guest from 50.16.20.131
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Visit PubCon.com
Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library : Charter : Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
Detect the language of a String
Eric




msg:3477262
 5:04 pm on Oct 14, 2007 (gmt 0)

Hi there

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"
"Çѱ¹Çѱ¹Çѱ¹Çѱ¹Çѱ¹" korean
"বাংলাদেশ বাংলাদেশবাংলাদেশ " ( I don't know what's this language, I copy from google)
etc...

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]

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved