Why is infinity printed as “8” in the Windows 10 console? Why does this infinity print 8 in Windows 10 console?
Given certain settings (i.e. combination of cultures, output encoding, etc.) .NET will output the Unicode infinity character ∞ (∞ / ∞). The Windows 10 console/terminal emulator will (again given certain settings – see screenshot below) display this Unicode character as an 8.
For example, on Windows 10, with the below settings (note the code page) simply pasting ∞ into the console shows as 8.