string USMesg;
USMesg = "¬Credits¬Remai ning¬";
byte[] bArray = Encoding.UTF8.G etBytes(USMesg) ;
After I execute the code, the first two bytes are:
[0] = 0xC2
[1] = 0xAC //This is the character I was expecting
Why has an extra byte been inserted after each ¬?
I tried using Encoding.ASCII. GetBytes() but that translates my ¬ to a
0x3F (Question mark ?)
Anyone any idea whats happened and how I can get round this problem?
Regards,
Steven
*** Sent via Developersdex http://www.developersdex.com ***
USMesg = "¬Credits¬Remai ning¬";
byte[] bArray = Encoding.UTF8.G etBytes(USMesg) ;
After I execute the code, the first two bytes are:
[0] = 0xC2
[1] = 0xAC //This is the character I was expecting
Why has an extra byte been inserted after each ¬?
I tried using Encoding.ASCII. GetBytes() but that translates my ¬ to a
0x3F (Question mark ?)
Anyone any idea whats happened and how I can get round this problem?
Regards,
Steven
*** Sent via Developersdex http://www.developersdex.com ***
Comment