G Guest Dec 30, 2004 #1 Hi, How can I convert a Unicode string to an ansi string and vise-versa ( using C# )
C Cor Ligthert Dec 30, 2004 #2 Nadav, Do you know this page? http://msdn.microsoft.com/library/d...ef/html/frlrfsystemtextencodingclasstopic.asp Know that ASCII is 7 bits maybe you mean this. System.Text.Encoding.GetEncoding(437) (When that code page is used on your system) I hope this helps? Cor
Nadav, Do you know this page? http://msdn.microsoft.com/library/d...ef/html/frlrfsystemtextencodingclasstopic.asp Know that ASCII is 7 bits maybe you mean this. System.Text.Encoding.GetEncoding(437) (When that code page is used on your system) I hope this helps? Cor
J Joerg Jooss Dec 30, 2004 #3 Nadav said: Hi, How can I convert a Unicode string to an ansi string and vise-versa ( using C# ) Click to expand... You can only convert between byte representations (using System.Text.Encoding). .NET strings are always Unicode strings. Cheers,
Nadav said: Hi, How can I convert a Unicode string to an ansi string and vise-versa ( using C# ) Click to expand... You can only convert between byte representations (using System.Text.Encoding). .NET strings are always Unicode strings. Cheers,