I have a file which represents the format of a level for a top down 2d game that uses ASCII graphics and is played in the command prompt. However, instead of printing the level, the command prompt seems to print random characters. I know the code is not incorrect because it easily prints a level made of regular ASCII characters. I suspect there to be an issue with the encoding used for my IDE. I have it set to UTF - 8 under the assumption that it would work that way, but I seem to be wrong. What encoding would allow me to do this, or is there something else I would have to do to allow for extended ASCII to work. If the Command Prompt capable of doing this in the first place? Does my OS have anything to do with this(I use Windows XP)
Extended ASCII characters are not standardized, so the characters that will be displayed by using those numbers will not necessarily be the same from one computer to another.