✅ 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_il16mo ago
it's not code problem its problem of cmd
✰Black_Star✰
✰Black_Star✰OP16mo ago
ik no i think in python all ok maybe...
✰Black_Star✰
✰Black_Star✰OP16mo ago
arch_il
arch_il16mo 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
Zebratic16mo ago
what he said ^^ just different encoding
arch_il
arch_il16mo ago
Why different? I thought UTF8 was standard for almost everything.
✰Black_Star✰
✰Black_Star✰OP16mo ago
ty i need do it every time...
arch_il
arch_il16mo ago
once per project is enough no need to rewrite it before every Console.WriteLine()
✰Black_Star✰
✰Black_Star✰OP16mo ago
i only teaching and must do it in every code
mindhardt
mindhardt16mo 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
Accord16mo 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✰OP16mo ago
yes
SinFluxx
SinFluxx16mo ago
You have to enter /close to close the post
Want results from more Discord servers?
Add your server