kov_serg Messages: 35 Registered: August 2008 Location: Russia
Cerr() outputs error message with directory name. It works fine until directory has russian name.
I just not understand why behaviour is different. Should it be same? May be it should be fixed.
ps: Under ubuntu it works fine becase terminal has utf-8 encoding.
using namespace Upp;
CoutUTF8(); // this forces behaviour to be same
To tell the truth, all is also complicated by the fact that in win32, we present itself to system as "non-UNICODE" application (because of now obsolete demand to support Win95/Win98). That means the console runs in OEM charset... So the conversion is UTF8->OEM charset