1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Dominik Riebeling 2008-08-02 20:39:03 +00:00
parent 6485d6d3ba
commit 02103a2fa7
8 changed files with 55 additions and 54 deletions

View file

@ -141,7 +141,7 @@ int load_kbd(unsigned char* filename)
return 0;
}
fd = open(filename, O_RDONLY|O_BINARY);
fd = open_utf8(filename, O_RDONLY|O_BINARY);
if (fd < 0)
return 1;