- Tue Sep 20, 2016 8:37 pm
#55461
Mmiscool,
I don't program in Arduino, only uses Bascom and AVR Asm... but I found this :
The problem is that GCC compiler uses UTF-8 encoding.... the Arduino IDE / gcc - compiler replaces some original ASCII code by sequences of two or even three bytes ! And this is exactly what I have in display !
Maybe using the charset UTF8 in the Web Page can resolve this for Web output ?
See it here, and there is one example decode routine :
http://playground.arduino.cc/Main/Utf8asciiI think that correction can be made for Oled/TFT , because these special bytes are determined, and one small routine can track these special byte sequences, and replace by the right character in the Font Table for the Oled or the TFT.
This will help a lot for peoples like me that want to show messages in the Oled or TFT display, and if this is possible with Web output too, will be the heaven !
Maybe you can correct this for the Oled/TFT only ?
Or maybe this TFT-8 use can be disabled in one compiler directive ?
Thanks a lot for your help !