[C#] Random '?' on Console.WriteLine()

03/29/2015 17:04 const*#1
Hello,

I am encountering having this little problem, I am experienced, but I never had this kind of problem, is that just a simple mistake? A silly one? I dont know:

I simply want to give out a text via Console.WriteLine, but it adds a random "?" on the start of the line:

Code:
?Path:
should be

Code:
Path:
Code:

Code:
Console.Title = "Hotfix";
            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("Path: ");
string s = Console.ReadLine();

            Console.WriteLine(new String('-', Console.WindowWidth));
...?
03/30/2015 21:43 berkay2578#2
try this, its almost always the case. If it doesn't work also try the UTF8.
Code:
Console.OutputEncoding = System.Text.Encoding.Unicode
Also make sure you don't have any weird Console.Write() before the "path:".