If i upperCase string with accents, it does not work on accents!
let txt= "béèàîâ";
txt = txt.toUpperCase();
console.log(txt); // Béèàîâ
let txtUp = "bÉÈÀÎÂ";
txtUp = txtUp.toUpperCase();
console.log(txtUp); // BÉÈÀÎÂ
for( let c of txt) {
console.log(c, c.charCodeAt(0));
}
for( let c of txtUp) {
console.log(c, c.charCodeAt(0));
}
espruino pico firmware 2v05.100 chrome appweb ide 0.73.7
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
If i upperCase string with accents, it does not work on accents!
espruino pico firmware 2v05.100 chrome appweb ide 0.73.7