summaryrefslogtreecommitdiffstats
path: root/firmware/include
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-02-07 16:53:27 +0100
committerThomas Martitz <kugel@rockbox.org>2014-02-23 20:23:52 +0100
commit07f484824cd5c095e0e76e9a7e2db9d7bbdd55c7 (patch)
tree1bc95af737c31a8e30d63e9533a9afebc4794229 /firmware/include
parentfacbaab1953f9ab355fb3a3259dc0acbaabd9cc5 (diff)
downloadrockbox-07f484824cd5c095e0e76e9a7e2db9d7bbdd55c7.tar.gz
rockbox-07f484824cd5c095e0e76e9a7e2db9d7bbdd55c7.tar.bz2
rockbox-07f484824cd5c095e0e76e9a7e2db9d7bbdd55c7.zip
codepages: Translate to linux codepage names for use on APPLICATION.
The iocharset mount option names the codepages slightly differently and must be translated properly. Change-Id: I147a256e3453136282244201c27225a30cdfdca0
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/rbunicode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/include/rbunicode.h b/firmware/include/rbunicode.h
index d21a840b00..3c28b3031e 100644
--- a/firmware/include/rbunicode.h
+++ b/firmware/include/rbunicode.h
@@ -80,4 +80,7 @@ const unsigned char* utf8decode(const unsigned char *utf8, unsigned short *ucs);
void set_codepage(int cp);
int utf8seek(const unsigned char* utf8, int offset);
const char* get_codepage_name(int cp);
+#if defined(APPLICATION) && defined(__linux__)
+const char *get_current_codepage_name_linux(void);
+#endif
#endif /* _RBUNICODE_H_ */