#include <vlc/input.h>
#include "vlc_playlist.h"
+#include "charset.h"
#define PLAYLIST_FILE_HEADER "# vlc playlist file version 0.5"
msg_Err( p_playlist, "out of memory");
return VLC_ENOMEM;
}
- p_export->p_file = fopen( psz_filename, "wt" );
+ p_export->p_file = utf8_fopen( psz_filename, "wt" );
if( !p_export->p_file )
{
msg_Err( p_playlist , "could not create playlist file %s"