STINNER Victor added the comment: > You seem to need wchar_t to call Py_Main and Py_SetProgramName. Yes, exactly. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18395> _______________________________________