Merge pull request #1777 from boski1987/patch-2

Update boot.js
master
Gordon Williams 2022-04-29 18:28:56 +01:00 committed by GitHub
commit b32c71c6ec
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 // could also use NRF.ancsGetAppInfo(msg.appId) here
}; };
var unicodeRemap = { 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)); var replacer = ""; //(n)=>print('Unknown unicode '+n.toString(16));
//if (appNames[msg.appId]) msg.a //if (appNames[msg.appId]) msg.a