❔ How to make Console.ReadLine() able to read characters such as ě?
Using visual studio, I am facing a problem where Console ReadLine converts characters such as ě or š into e and s and I dont know how to fix it
I have tried
Console.OutputEncoding = System.Text.Encoding.UTF8;
Console.InputEncoding = System.Text.Encoding.UTF8;
without success
2 Replies
Not without success, changing to UTF8 actually makes it worse and the characters straight dissapear instead of just losing the special symbols
Well apparently unicode works, idk why
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.