Hi Jiant Tao,
I just tried myself, and it works fine:
Code:
int
main(int argc, char* argv[])
{
CallbackServer app;
cerr << "Config file with Chinese characters: C:\\Users\\bernard\\test\\绑定\\config.server" << endl;
return app.main(argc, argv, "C:\\Users\\bernard\\test\\绑定\\config.server");
}
Since you didn't install a string converter, you need to make sure the source file is UTF-8 (and that Visual Studio knows about it). I used File > Save Server.cpp as > Save with Encoding to select Unicode (UTF-8 without signature) - Codepage 65001 as my codepage.
Cheers,
Bernard