/* TODO: write an internal function of this one, to avoid
* unnecessary lookups. */
- /* FIXME: should we convert options to UTF-8 as well ?? */
#ifdef WIN32
if( GetVersion() < 0x80000000 )
else
#endif
{
+ /* FIXME: it's too late to call FromLocale here. We should
+ convert ALL arguments to UTF8 before they get parsed */
+
psz_target = FromLocale( ppsz_argv[ i_opt ] );
VLC_AddTarget( p_vlc->i_object_id, psz_target,
(char const **)( i_options ? &ppsz_argv[i_opt + 1] :