However if you use WriteConsoleW, you can actually output both of the &quot;€∑&quot; in ANY code page.
The NT console is a matrix of UTF-16 code points, and there is an API to write it. So the question becomes why Java (and many other platforms, like Python) did not use this mechanism. Notably Java&#x27;s internal encoding of strings is UTF-16 either, this should be a problem.