D
D
Daniil Demidko2017-03-26 17:28:19
.NET
Daniil Demidko, 2017-03-26 17:28:19

Why doesn't the Russian language work in the .NET Core console?

1846d8d7ef4f44b38d1a96bdd97be70b.png
Win 10 + Visual Studio 2017 + .NET 4.6.2 + .NET Core SDK 1.1
All source files in UTF-8.
Similar code for .NET works correctly.
How can this be fixed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sumor, 2017-03-26
@Daniro_San

By default, the encoding in the Windows console is 866.
Switch the encoding before outputting.
Or switch the console to UTF-8 mode in the batch file:
chcp 65001

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question