File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ let DEVICEINFO = [
73
73
/* When a char is not in Espruino's iso8859-1 codepage, try and use
74
74
these conversions */
75
75
const CODEPAGE_CONVERSIONS = {
76
+ // letters
76
77
"ą" :"a" ,
77
78
"ā" :"a" ,
78
79
"č" :"c" ,
@@ -81,6 +82,7 @@ const CODEPAGE_CONVERSIONS = {
81
82
"ę" :"e" ,
82
83
"ē" :"e" ,
83
84
"ģ" :"g" ,
85
+ "ğ" :"g" ,
84
86
"ī" :"i" ,
85
87
"ķ" :"k" ,
86
88
"ļ" :"l" ,
@@ -91,6 +93,7 @@ const CODEPAGE_CONVERSIONS = {
91
93
"ř" :"r" ,
92
94
"ś" :"s" ,
93
95
"š" :"s" ,
96
+ "ş" :"s" ,
94
97
"ū" :"u" ,
95
98
"ż" :"z" ,
96
99
"ź" :"z" ,
@@ -102,7 +105,9 @@ const CODEPAGE_CONVERSIONS = {
102
105
"Ě" :"E" ,
103
106
"Ę" :"E" ,
104
107
"Ē" :"E" ,
108
+ "Ğ" :"G" ,
105
109
"Ģ" :"G" ,
110
+ "ı" :"i" ,
106
111
"Ķ" :"K" ,
107
112
"Ļ" :"L" ,
108
113
"Ł" :"L" ,
@@ -112,10 +117,15 @@ const CODEPAGE_CONVERSIONS = {
112
117
"Ř" :"R" ,
113
118
"Ś" :"S" ,
114
119
"Š" :"S" ,
120
+ "Ş" :"S" ,
115
121
"Ū" :"U" ,
116
122
"Ż" :"Z" ,
117
123
"Ź" :"Z" ,
118
124
"Ž" :"Z" ,
125
+
126
+ // separators
127
+ " " :" " ,
128
+ " " :" " ,
119
129
} ;
120
130
121
131
/// Convert any character that cannot be displayed by Espruino's built in fonts
You can’t perform that action at this time.
0 commit comments