Commit 9da31dde authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use Unicode wrapper

parent 3874df3b
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Copyright (C) 2004 the VideoLAN team * Copyright (C) 2004 the VideoLAN team
* $Id$ * $Id$
* *
* Authors: Clent Stenac <zorglub@videolan.org> * Authors: Clément Stenac <zorglub@videolan.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -54,13 +54,8 @@ int Export_Old( vlc_object_t *p_this ) ...@@ -54,13 +54,8 @@ int Export_Old( vlc_object_t *p_this )
fprintf( p_export->p_file , PLAYLIST_FILE_HEADER "\n" ); fprintf( p_export->p_file , PLAYLIST_FILE_HEADER "\n" );
for ( i = 0 ; i < p_export->p_root->i_children ; i++ ) for ( i = 0 ; i < p_export->p_root->i_children ; i++ )
{ utf8_fprintf( p_export->p_file , "%s\n" ,
char *psz_uri; p_export->p_root->pp_children[i]->p_input->psz_name );
psz_uri =
ToLocale( p_export->p_root->pp_children[i]->p_input->psz_name );
fprintf( p_export->p_file , "%s\n" , psz_uri );
LocaleFree( psz_uri );
}
return VLC_SUCCESS; return VLC_SUCCESS;
} }
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