Caveat: I am assuming that you are using a Windows/DOS system, so YMMV.
From the PrintStream javadoc: All characters printed by a PrintStream are converted into bytes using the platform's default character encoding. (Emphasis mine)
By default, all DOS consoles use MS-DOS Codepage 437 (US)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.