Set Console.OutputEncoding to UTF-8 only if current encoding is single byte

This commit is contained in:
de4dot 2011-09-28 01:27:46 +02:00
parent 2094990a93
commit 37be012a11

View File

@ -40,6 +40,7 @@ namespace de4dot {
Utils.startUpArch = startUpArch;
try {
if (Console.OutputEncoding.IsSingleByte)
Console.OutputEncoding = new UTF8Encoding(false);
Log.n("");