File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ let DEVICEINFO = [
7373/* When a char is not in Espruino's iso8859-1 codepage, try and use
7474these conversions */
7575const CODEPAGE_CONVERSIONS = {
76+ // letters
7677 "ą" :"a" ,
7778 "ā" :"a" ,
7879 "č" :"c" ,
@@ -81,6 +82,7 @@ const CODEPAGE_CONVERSIONS = {
8182 "ę" :"e" ,
8283 "ē" :"e" ,
8384 "ģ" :"g" ,
85+ "ğ" :"g" ,
8486 "ī" :"i" ,
8587 "ķ" :"k" ,
8688 "ļ" :"l" ,
@@ -91,6 +93,7 @@ const CODEPAGE_CONVERSIONS = {
9193 "ř" :"r" ,
9294 "ś" :"s" ,
9395 "š" :"s" ,
96+ "ş" :"s" ,
9497 "ū" :"u" ,
9598 "ż" :"z" ,
9699 "ź" :"z" ,
@@ -102,7 +105,9 @@ const CODEPAGE_CONVERSIONS = {
102105 "Ě" :"E" ,
103106 "Ę" :"E" ,
104107 "Ē" :"E" ,
108+ "Ğ" :"G" ,
105109 "Ģ" :"G" ,
110+ "ı" :"i" ,
106111 "Ķ" :"K" ,
107112 "Ļ" :"L" ,
108113 "Ł" :"L" ,
@@ -112,10 +117,15 @@ const CODEPAGE_CONVERSIONS = {
112117 "Ř" :"R" ,
113118 "Ś" :"S" ,
114119 "Š" :"S" ,
120+ "Ş" :"S" ,
115121 "Ū" :"U" ,
116122 "Ż" :"Z" ,
117123 "Ź" :"Z" ,
118124 "Ž" :"Z" ,
125+
126+ // separators
127+ " " :" " ,
128+ " " :" " ,
119129} ;
120130
121131/// 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