ASCII in Windows XP and Ubuntu Linux

Posted by Mikey D on Stack Overflow See other posts from Stack Overflow or by Mikey D
Published on 2009-06-09T01:11:46Z Indexed on 2010/05/28 23:02 UTC
Read the original article Hit count: 293

Filed under:
|
|

I've made a program in MVSC++ which outputs memory contents (in ASCII). The ASCII I see in windows console seem to match what I see in various ASCII tables (smiley, diamond, club, right arrow etc). This program needs to compile under Linux (which is does), but the ASCII output looks completely different. A few symbols are the same but the rest are so different. Is there any way to change how terminal displays ASCII code?

EDIT: The program executes correctly, it's just the ASCII that is being displayed differently.

© Stack Overflow or respective owner

Related posts about Windows

Related posts about linux