From 02103a2fa701954e42c8081fccf75eea26f52ce8 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sat, 2 Aug 2008 20:39:03 +0000 Subject: Unify opening of utf-8 files (FS#6203). This also adds ignoring the BOM in several places it has been missing (as FS#6071). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18185 a1c6a512-1295-4272-9138-f99709370657 --- apps/cuesheet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/cuesheet.c') diff --git a/apps/cuesheet.c b/apps/cuesheet.c index 853a2a0..5583264 100644 --- a/apps/cuesheet.c +++ b/apps/cuesheet.c @@ -147,7 +147,7 @@ bool parse_cuesheet(char *file, struct cuesheet *cue) char *s; DEBUGF("cue parse\n"); - int fd = open(file,O_RDONLY); + int fd = open_utf8(file,O_RDONLY); if (fd < 0) { /* couln't open the file */ -- cgit v1.1