Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is cmd.exe of Windows 7 capable of displaying the degree character '°'?

http://en.wikipedia.org/wiki/Degree_symbol http://ascii-table.com/ansi-codes.php

share|improve this question
add comment

3 Answers

Works for me. I don't see why it wouldn't work. Did you try it? If so, post the code you used, there may be a problem in the code itself.

I just used an echo command to test it:

> ECHO °
°
share|improve this answer
add comment

At the prompt, hold down the Alt key and type 0176 on your numeric keypad. When you release the Alt key, a degree symbol should be displayed.

share|improve this answer
add comment

cmd.exe is capable of it; however, the Windows Console might not: by default it uses the system's "OEM" codepage (cp775, for example - see chcp), and Unicode (chcp 65001) is incredibly flaky (well, on XP at least).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.