forked from len0rd/rockbox
application(ypr0): Fix mount option selected by the current codepage.
A missing comma messed the lookup table up :'( Be aware that the kernel on the ypr0 doesn't support many codepages in which case its default (iso8859) will be used. Change-Id: Iaa4a4b8338fb047d29f6a4e2a80eba5c296d27ce
This commit is contained in:
parent
6b01da8bed
commit
506b8718fc
1 changed files with 16 additions and 16 deletions
|
@ -82,22 +82,22 @@ static const char * const name_codepages[NUM_CODEPAGES+1] =
|
||||||
#if defined(APPLICATION) && defined(__linux__)
|
#if defined(APPLICATION) && defined(__linux__)
|
||||||
static const char * const name_codepages_linux[NUM_CODEPAGES+1] =
|
static const char * const name_codepages_linux[NUM_CODEPAGES+1] =
|
||||||
{
|
{
|
||||||
"iso8859-1",
|
/* "ISO-8859-1" */ "iso8859-1",
|
||||||
"iso8859-7",
|
/* "ISO-8859-7" */ "iso8859-7",
|
||||||
"iso8859-8",
|
/* "ISO-8859-8" */ "iso8859-8",
|
||||||
"cp1251",
|
/* "CP1251" */ "cp1251",
|
||||||
"iso8859-11",
|
/* "ISO-8859-11"*/ "iso8859-11",
|
||||||
"cp1256",
|
/* "CP1256" */ "cp1256",
|
||||||
"iso8859-9",
|
/* "ISO-8859-9" */ "iso8859-9",
|
||||||
"iso8859-2",
|
/* "ISO-8859-2" */ "iso8859-2",
|
||||||
"cp1250",
|
/* "CP1250" */ "cp1250",
|
||||||
"iso8859-15" /* closest, linux doesnt have a codepage named cp1252 */
|
/* "CP1252" */ "iso8859-15", /* closest, linux doesnt have a codepage named cp1252 */
|
||||||
"cp932",
|
/* "SJIS" */ "cp932",
|
||||||
"cp936",
|
/* "GB-2312" */ "cp936",
|
||||||
"cp949",
|
/* "KSX-1001" */ "cp949",
|
||||||
"cp950",
|
/* "BIG5" */ "cp950",
|
||||||
"utf8",
|
/* "UTF-8" */ "utf8",
|
||||||
"cp437"
|
/* "unknown" */ "cp437"
|
||||||
};
|
};
|
||||||
|
|
||||||
const char *get_current_codepage_name_linux(void)
|
const char *get_current_codepage_name_linux(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue