how to determine what language a c# string is written in? is there any C# method to take a string an

how to determine what language a c# string is written in? is there any C# method to take a string an

am 29.01.2008 22:27:43 von DR

how to determine what language a c# string is written in? is there any C#
method to take a string and return what language it is in? e.g. english,
hindi, spanish, etc.

Re: how to determine what language a c# string is written in? is there any C# method to take a strin

am 30.01.2008 13:51:06 von Kevin Spencer

System.Text.Encoding.CodePage will probably give you what you need. See:

http://msdn2.microsoft.com/en-us/library/system.text.encodin ginfo.codepage.aspx

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

"DR" wrote in message
news:%23DqHU3rYIHA.5868@TK2MSFTNGP06.phx.gbl...
> how to determine what language a c# string is written in? is there any C#
> method to take a string and return what language it is in? e.g. english,
> hindi, spanish, etc.
>