• 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

About

Avatar for Mrbbp @Mrbbp started