+ 2

Что с русским языком в С#

Пишу в Sololern код на С#, но при выводе результата в консоль вместо русских букв выводит знаки вопроса, с английской раскладкой таких проблем нет

10th Apr 2021, 11:44 AM
G V a r K
G V a r K - avatar
2 Antworten
+ 4
Text uses a codepage to print the correct character. The codepage in the sololearn playground is ASCIIEncoding. Unfortunately this cannot be changed in the sololearn playground. The playground cannot display russian. https://www.sololearn.com/Discuss/1215700/?ref=app To print russian you need to set the codepage to UTF8. The link is about python but applies to C# as well. https://code.sololearn.com/c7ODQs6P4My3/?ref=app Have a look at this youtube video from angelsix https://www.youtube.com/watch?v=iWpHF-5uYdg&list=PLrW43fNmjaQVSmaezCeU-Hm4sMs2uKzYN&index=14
11th Apr 2021, 1:52 PM
sneeze
sneeze - avatar
+ 2
sneeze thank you) 🙏
11th Apr 2021, 4:44 PM
G V a r K
G V a r K - avatar