News for hackers. Stuff that matters.
Re:Code Page 437 Refuses to Die by be5invis on Sunday May 08, 2016 @08:45PM (#11656841)
However if you use WriteConsoleW, you can actually output both of the "€∑" 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's internal encoding of strings is UTF-16 either, this should be a problem.
Re:Code Page 437 Refuses to Die by mark-r on Sunday May 08, 2016 @11:16PM (#11657378)
One of the great benefits of a console interface is that it's a lowest common denominator between different OS. That interface is based on a byte-level I/O model. Things like I/O redirection depend on it.
Re:Code Page 437 Refuses to Die by be5invis on Monday May 09, 2016 @01:21AM (#11657788)
They can implement an alternative driver to convert IO streams into API calls. And that's how libuv did.