Update boot.js

edit uncodeRemap to map polish characters to characters supported by Bangle.
pull/1777/head
boski1987 2022-04-29 19:02:01 +02:00 committed by GitHub
parent 6037e0323f
commit a558d33985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 1 deletions

View File

@ -115,7 +115,23 @@ E.on('notify',msg=>{
// could also use NRF.ancsGetAppInfo(msg.appId) here
};
var unicodeRemap = {
'2019':"'"
'2019':"'",
'260':"A",
'261':"a",
'262':"C",
'263':"c",
'280':"E",
'281':"e",
'321':"L",
'322':"l",
'323':"N",
'324':"n",
'346':"S",
'347':"s",
'377':"Z",
'378':"z",
'379':"Z",
'380':"z",
};
var replacer = ""; //(n)=>print('Unknown unicode '+n.toString(16));
//if (appNames[msg.appId]) msg.a