Quote:
Originally Posted by Dragokas
Code:
PrintToServer("asc[15]: %i, asc[16]: %i, asc[17]: %i, asc[18]: %i", sPath0[15], sPath0[16], sPath0[17], sPath0[18] );
Is 2573 mean CR? Why so strange code?
What kind of encoding is it - "13168" (0x3370) ? "p" character has no 2-byte analogue, afaik.
|
Ok, solved. Instead, it should be:
Code:
int c1, c2, c3, c4;
c1 = sPath0[15];
c2 = sPath0[16];
c3 = sPath0[17];
c4 = sPath0[18];
PrintToServer("asc[15]: %i, asc[16]: %i, asc[17]: %i, asc[18]: %i", c1, c2, c3, c4 );
Now, codes are printed correctly.
__________________