1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Thomas Martitz 2014-02-07 16:53:27 +01:00
parent facbaab195
commit 07f484824c
2 changed files with 32 additions and 0 deletions

View file

@ -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_ */