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 and return what language it is in? e.g. english,
hindi, spanish, etc.
DR [ Di, 29 Januar 2008 22:27 ] [ ID #1918801 ]

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

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" <softwareengineer98037 [at] yahoo.com> wrote in message
news:%23DqHU3rYIHA.5868 [at] 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.
>
Kevin Spencer [ Mi, 30 Januar 2008 13:51 ] [ ID #1919819 ]
Microsoft » microsoft.public.dotnet.general » how to determine what language a c# string is written in? is there any C# method to take a string an

Vorheriges Thema: How to start to edit listview items programatically
Nächstes Thema: VS 2008 - test driven?