homepage Welcome to WebmasterWorld Guest from 54.237.54.83
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved