Commit e519d5ff authored by Rafaël Carré's avatar Rafaël Carré

windows: Convert vlc directory path to UTF8

parent 6d506eab
......@@ -57,7 +57,7 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
wchar_t psz_wpath[MAX_PATH];
if( GetModuleFileName( NULL, psz_wpath, MAX_PATH ) )
{
WideCharToMultiByte( CP_ACP, 0, psz_wpath, -1,
WideCharToMultiByte( CP_UTF8, 0, psz_wpath, -1,
psz_path, MAX_PATH, NULL, NULL );
}
else psz_path[0] = '\0';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment