Added ConsoleEncoding enum
Added getOutputEncoding function (Windows)