summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-02-28 07:22:37 +0100
committerThomas Martitz <kugel@rockbox.org>2014-02-28 07:22:37 +0100
commit506b8718fc1d3d71b0ea060145d797924c5d0ef9 (patch)
treeece359c5c4d1ec0f02e578556744e8a7ff39f07d
parent6b01da8bed7f5a49f601021bdf62267ff7585c4c (diff)
downloadrockbox-506b8718fc1d3d71b0ea060145d797924c5d0ef9.tar.gz
rockbox-506b8718fc1d3d71b0ea060145d797924c5d0ef9.zip
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
-rw-r--r--firmware/common/unicode.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/firmware/common/unicode.c b/firmware/common/unicode.c
index 2bb7bfb943..3ff1814c4b 100644
--- a/firmware/common/unicode.c
+++ b/firmware/common/unicode.c
@@ -82,22 +82,22 @@ static const char * const name_codepages[NUM_CODEPAGES+1] =
#if defined(APPLICATION) && defined(__linux__)
static const char * const name_codepages_linux[NUM_CODEPAGES+1] =
{
- "iso8859-1",
- "iso8859-7",
- "iso8859-8",
- "cp1251",
- "iso8859-11",
- "cp1256",
- "iso8859-9",
- "iso8859-2",
- "cp1250",
- "iso8859-15" /* closest, linux doesnt have a codepage named cp1252 */
- "cp932",
- "cp936",
- "cp949",
- "cp950",
- "utf8",
- "cp437"
+ /* "ISO-8859-1" */ "iso8859-1",
+ /* "ISO-8859-7" */ "iso8859-7",
+ /* "ISO-8859-8" */ "iso8859-8",
+ /* "CP1251" */ "cp1251",
+ /* "ISO-8859-11"*/ "iso8859-11",
+ /* "CP1256" */ "cp1256",
+ /* "ISO-8859-9" */ "iso8859-9",
+ /* "ISO-8859-2" */ "iso8859-2",
+ /* "CP1250" */ "cp1250",
+ /* "CP1252" */ "iso8859-15", /* closest, linux doesnt have a codepage named cp1252 */
+ /* "SJIS" */ "cp932",
+ /* "GB-2312" */ "cp936",
+ /* "KSX-1001" */ "cp949",
+ /* "BIG5" */ "cp950",
+ /* "UTF-8" */ "utf8",
+ /* "unknown" */ "cp437"
};
const char *get_current_codepage_name_linux(void)