I did fix something
This doesn't look like much but most languages will give you mojibake for similar code.
@vitaut it's already surprising that Notepad and the C++ compiler agree ;) Is the source file UTF-8 or UTF-16, and does the file have a BOM?
Also, does this mean the C++ stdlib now calls:
SetConsoleOutputCP(CP_UTF8);
??
...or is this solved differently?
@floooh No BOM, just standard UTF-8. I was super surprised when Notepad switched to UTF-8 by default a few years back. You still need to pass /utf-8 to the compiler for this to work but it doesn't require any global settings. The output goes through Unicode Windows API.
@floooh SetConsoleOutputCP(CP_UTF8) will probably work without /utf-8 too
I failed miserably to even try to pronounce this 🤔
@DanielaKEngert easy: Schtschutschynschtschyna
@vitaut did they add tabs to notepad
@wil only horizontal because Microsoft is always 10 years behind
Antifascista)