Fixed showing output with invalid UTF8 characters in Stack and Console windows.