Set Console.OutputEncoding to UTF-8 only if current encoding is single byte
This commit is contained in:
parent
2094990a93
commit
37be012a11
|
@ -40,6 +40,7 @@ namespace de4dot {
|
|||
Utils.startUpArch = startUpArch;
|
||||
|
||||
try {
|
||||
if (Console.OutputEncoding.IsSingleByte)
|
||||
Console.OutputEncoding = new UTF8Encoding(false);
|
||||
|
||||
Log.n("");
|
||||
|
|
Loading…
Reference in New Issue
Block a user