On Thursday, 16 May 2019 at 15:27:33 UTC, Vladimir Panteleev
wrote:
On Thursday, 16 May 2019 at 15:19:03 UTC, Alex wrote:
1 - 17 ms, 553 ╬╝s, and 1 hnsec
WTH!! is there any way to just get a normal u rather than some
fancy useless asci hieroglyphic? Why don't we have a fancy M?
and an h?
It's outputting UTF-8, but, your console is not configured to
display UTF-8.
On Windows, you can do so (before running your program), by
running: chcp 65001
Or, within your program, by calling:
SetConsoleOutputCP(CP_UTF8);
Note that this has some negative side effects, which is why D
doesn't do it automatically. (Blame Windows.)
What's an hnsec anyways?
Hecto-nano-second, the smallest representable unit of time in
SysTime and Duration.
Thanks...
Why not just use u? If that is too much trouble then detect the
code page and use u rather than the extended ascii which looks
very out of place?