S
Steven Blair
string USMesg;
USMesg = "¬Credits¬Remaining¬";
byte[] bArray = Encoding.UTF8.GetBytes(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
USMesg = "¬Credits¬Remaining¬";
byte[] bArray = Encoding.UTF8.GetBytes(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