79626995

Date: 2025-05-17 21:19:27
Score: 1
Natty:
Report link

By changing the console's input and output encoding settings to Unicode I managed to output the text correctly — at least for all the Czech characters.

// This fixes the problems with displaying non-English characters, at least for Czech. 
Console.InputEncoding = System.Text.Encoding.Unicode;
Console.OutputEncoding = System.Text.Encoding.Unicode;
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rudolf Snail