summaryrefslogtreecommitdiffstats
path: root/apps/cuesheet.c
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-08-02 20:39:03 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-08-02 20:39:03 +0000
commit02103a2fa701954e42c8081fccf75eea26f52ce8 (patch)
tree8055c7c0b7e3fa710e07a19928ec8c46d6a08d1d /apps/cuesheet.c
parent6485d6d3ba999e8cacde267a30c8415959fcfc79 (diff)
downloadrockbox-02103a2fa701954e42c8081fccf75eea26f52ce8.tar.gz
rockbox-02103a2fa701954e42c8081fccf75eea26f52ce8.tar.bz2
rockbox-02103a2fa701954e42c8081fccf75eea26f52ce8.zip
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
Diffstat (limited to 'apps/cuesheet.c')
-rw-r--r--apps/cuesheet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/cuesheet.c b/apps/cuesheet.c
index 853a2a0f95..5583264ab9 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 */