summaryrefslogtreecommitdiff
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] =
82#if defined(APPLICATION) && defined(__linux__) 82#if defined(APPLICATION) && defined(__linux__)
83static const char * const name_codepages_linux[NUM_CODEPAGES+1] = 83static const char * const name_codepages_linux[NUM_CODEPAGES+1] =
84{ 84{
85 "iso8859-1", 85 /* "ISO-8859-1" */ "iso8859-1",
86 "iso8859-7", 86 /* "ISO-8859-7" */ "iso8859-7",
87 "iso8859-8", 87 /* "ISO-8859-8" */ "iso8859-8",
88 "cp1251", 88 /* "CP1251" */ "cp1251",
89 "iso8859-11", 89 /* "ISO-8859-11"*/ "iso8859-11",
90 "cp1256", 90 /* "CP1256" */ "cp1256",
91 "iso8859-9", 91 /* "ISO-8859-9" */ "iso8859-9",
92 "iso8859-2", 92 /* "ISO-8859-2" */ "iso8859-2",
93 "cp1250", 93 /* "CP1250" */ "cp1250",
94 "iso8859-15" /* closest, linux doesnt have a codepage named cp1252 */ 94 /* "CP1252" */ "iso8859-15", /* closest, linux doesnt have a codepage named cp1252 */
95 "cp932", 95 /* "SJIS" */ "cp932",
96 "cp936", 96 /* "GB-2312" */ "cp936",
97 "cp949", 97 /* "KSX-1001" */ "cp949",
98 "cp950", 98 /* "BIG5" */ "cp950",
99 "utf8", 99 /* "UTF-8" */ "utf8",
100 "cp437" 100 /* "unknown" */ "cp437"
101}; 101};
102 102
103const char *get_current_codepage_name_linux(void) 103const char *get_current_codepage_name_linux(void)