diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-08-02 20:39:03 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-08-02 20:39:03 +0000 |
commit | 02103a2fa701954e42c8081fccf75eea26f52ce8 (patch) | |
tree | 8055c7c0b7e3fa710e07a19928ec8c46d6a08d1d /apps/cuesheet.c | |
parent | 6485d6d3ba999e8cacde267a30c8415959fcfc79 (diff) |
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.c | 2 |
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 */ |