• Hi,
    First of all I would be like to say a big thank for your products.
    Amazing devices with my favorite programming language :)
    I build a smart barrier controller, controlling barrier and managering proxy cards via socket connection controlled by android phone.
    My problems is UTF-8 character encoding (hungarian's accented characters) and representating. As you can see on attached images the accented characters are well in the Espruino memory but they appear bad on browser. Interestingly, e.x. the "ő" character also appear well in the browser and in the code, but other chars appear as question mark. How can it be?
    HTML code

        html = `
    <!doctype html>
        <meta charset="UTF-8">
        <h1>Sorompó vezérlő</h1>
        <p>Alaplap hőmérséklete: <span id="temp">0</span>&nbsp;&#8451;</p>
        <p>Wiegand olvasó 1 csatorna: <span id="wieg1"></span></p>
        <p>Wiegand olvasó 2 csatorna: <span id="wieg2"></span></p>
          LED on:
          <select id="oled">

    My other question is, is the operating temperature of the Espruino wifi CPU normal as shown in the attached picture, or does the motherboard require cooling?

    Thank you for your helping hand.


    1 Attachment

    • Képernyőkép erről: 2021-04-24 16-49-33.png
  • Sat 2021.04.24

    Hi @Laci So that we may better visualize what is going on, would you mind posting the Javascript code snippet that is performing the actual write back to the browser using the indicated var html.

    and, . . . please post the view source results that the browser is receiving so that we may compare with the image that is posted above.


Avatar for user127815 @user127815 started