Does anybody know why whenever I input \v, it outputs the male gender symbol? For example: hello world would be hello diagonal to world on the next line
If there is an explanation for this, what can I do to overcome or solve this?
Does anybody know why whenever I input \v, it outputs the male gender symbol? For example: hello world would be hello diagonal to world on the next line
If there is an explanation for this, what can I do to overcome or solve this?
Hans Passant is correct: https://en.wikipedia.org/wiki/Code_page_437
\v
, "vertical tab", is ASCII 11. Which is displayed as the male gender symbol on an IBM-compatible PC or DOS prompt using IBM code page 437.
There's no "solution".
Q: What do you want?
For "screen control" in text mode, I'd strongly encourage you to look at NCurses or equivalent.
Although I don't necessarily recommend it, some folks are perfectly happy using ANSI Escape Codes.
And of course you can always change the code page: https://itectec.com/superuser/change-default-code-page-of-windows-console-to-utf-8/