I have a problem with these two special characters from romanian language: ț and ș.
Example: 
String s = "ștrumf";
The result is ?trumf when I write the string to console.
Does anyone know what  may be the reason?
I have a problem with these two special characters from romanian language: ț and ș.
Example: 
String s = "ștrumf";
The result is ?trumf when I write the string to console.
Does anyone know what  may be the reason?
Try using this before sending output:
Console.OutputEncoding = System.Text.Encoding.UTF8;
Checkout this Reference
 
    
    You, should set Console.OutputEncoding as UTF8
static void Main(string[] args) { Console.OutputEncoding = System.Text.Encoding.UTF8; String s = "ștrumf"; Console.WriteLine(s); Console.ReadLine(); }
