stored_playlist: use fs_charset_to_utf8() for URLs

This commit is contained in:
Max Kellermann
2013-10-14 21:11:20 +02:00
parent 7cbaf11dda
commit ad631d563b
2 changed files with 6 additions and 2 deletions

View File

@@ -287,8 +287,11 @@ spl_load(const char *utf8path, GError **error_r)
continue;
s = path_utf8;
} else
s = g_strdup(s);
} else {
s = fs_charset_to_utf8(s);
if (s == NULL)
continue;
}
g_ptr_array_add(list, s);