Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Is it possible to Print on Console characters that are not on keyboard or Unicode?

As part of a program in C# I want to display a message that contains characters that are not included in Unicode or on the keyboard. I get to the point when I have the .cs file compiled but when it is executed the characters are all ?'s instead of what I put in. Any idea how I could get around this?

Update:

Also when I say print I mean display on my screen. I can get the characters to display in the text-editor program when writing the source code, but when I run the program in command prompt that characters are ?'s instead of what is in the code. Thanks for your time.

2 Answers

Relevance
  • david
    Lv 7
    7 years ago
    Favorite Answer

    Well, as a compete hack that I would not suggest you actually do and may leave your system somewhat unusable if you do it wrong... you could change whatever font the console uses so one of the characters is the symbol you need.

    Realistically you're probably better off learning graphics, and making it not run in the console.

  • Calvin
    Lv 4
    7 years ago

    It depends on the printer driver. Some printers will allow you to use escape codes (printer control codes), hexadecimal codes, etc to specify (non-printing) characters. A good rule of thumb is that if you can get it to display on the screen you can get it to appear on paper.

Still have questions? Get your answers by asking now.