ASCII code problem [modified]
-
I have a problem in converting ASCII extended characters in my C# program. I have already tried the following statement." System.Text.Encoding.Default.GetString(buff). buff is a byte array" this statement does not show me the correct ASCII extended char. Any body cam help out?
S.Jamman
modified on Thursday, February 14, 2008 5:14 AM
-
I have a problem in converting ASCII extended characters in my C# program. I have already tried the following statement." System.Text.Encoding.Default.GetString(buff). buff is a byte array" this statement does not show me the correct ASCII extended char. Any body cam help out?
S.Jamman
modified on Thursday, February 14, 2008 5:14 AM
The default encoding is Unicode. Have you tried specifying ASCII directly ?
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
The default encoding is Unicode. Have you tried specifying ASCII directly ?
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
yes I have specified directly to ASCII. Actually Windows does not show the appropriate extended character against the byte code. like 155=Ø in ASCII extended table. But my program shows the character against 155=>. I cannot understand why it is happening?
S.Akmal
-
yes I have specified directly to ASCII. Actually Windows does not show the appropriate extended character against the byte code. like 155=Ø in ASCII extended table. But my program shows the character against 155=>. I cannot understand why it is happening?
S.Akmal