diff --git a/main.cpp b/main.cpp index 455a675..2da7df0 100644 --- a/main.cpp +++ b/main.cpp @@ -255,7 +255,7 @@ int main ( int argc, char_t **argv ) { #ifdef _WIN32 // set console to unicode - _setmode( _fileno( stdout ), _O_U16TEXT ); + _setmode( _fileno( stdout ), _O_U8TEXT ); #else if ( setlocale( LC_ALL, "" ) == NULL ) error( 1, errno, "%s", _( INVALID_LOCALE ).c_str() );