✅ Russian words become question marks

I don't know what else to write here. Ask questions if you can and want to help!
13 Replies
arch_il
arch_il11mo ago
it's not code problem its problem of cmd
✰Black_Star✰
✰Black_Star✰11mo ago
ik no i think in python all ok maybe...
✰Black_Star✰
✰Black_Star✰11mo ago
arch_il
arch_il11mo ago
ahh no worries
Console.OutputEncoding = Encoding.UTF8;
Console.OutputEncoding = Encoding.UTF8;
Just add this line at the top of your main function. Make sure you have using System.Text; included.
Zebratic
Zebratic11mo ago
what he said ^^ just different encoding
arch_il
arch_il11mo ago
Why different? I thought UTF8 was standard for almost everything.
✰Black_Star✰
✰Black_Star✰11mo ago
ty i need do it every time...
arch_il
arch_il11mo ago
once per project is enough no need to rewrite it before every Console.WriteLine()
✰Black_Star✰
✰Black_Star✰11mo ago
i only teaching and must do it in every code
mindhardt
mindhardt11mo ago
Default encoding for windows is ansi, but you can just add this line once in your Main I bet it is somehow configurable in IDE as well
Accord
Accord11mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
✰Black_Star✰
✰Black_Star✰11mo ago
yes
SinFluxx
SinFluxx11mo ago
You have to enter /close to close the post