Quote Originally Posted by Mutilated1
Couldn't get much simpiler than this...

#define __toascii(_c) ( (_c) & 0x7f )
Well... all I can say is that doesn't filter out non-ascii control codes. Nor does it convert binary numbers to ASCII decimals.

Can anyone else spare their knowledge? I can't seem to search on this subject anywhere online.