
There are actually 4 places that (can) have a different text encoding: There are several places where you can set the encoding of text within a project, as noted in this topic. While it might be possible that Cyrillic character sets are broken, this sounds to me like a character encoding mismatch. If updating the same field in LCD commands locally, the cyrillic text will change into another symbols depended on LCD model.
#Nextion lcd font wizard update
It seems to me all mess and real LCD behavior programmed by Nextion Editor.ĪLL Cyrillic fonts in PACK are not good - wrong cyrillic symbols location if update strings from MCU via USART. Only if Nextion going to fix Nextion Editor behavior.
#Nextion lcd font wizard how to
I wrote zi converter that change any 8859-5 zi font to correct letters order, and now any cyrillic text looks perfect if i send it into LCD via COM port into any field ( if field has 8859-5 font assigned )īut, how to fix updating fields in LCD code? - unknown to me. I guess that will happen with all symbols upper then ASCII 127 code.


Because in editor debugging mode i saw the same behavior as on real LCD. But if you trying to update string with other cyrillic string it become unreadable even if you update string in LCD code locally as respond to some action.īy the way, Intellegent LCD use KOI8 table for updating chars even if text field defined as 8859-5 locally update example : t0.txt=“Русский текст”, but Basic LCD use unknown to me table and all cyrillic leters swap on “?”. But cyrillic text assigned in Nextion Editor looking good if you’ll never try to change it via COM port command or in Nextion LCD code locally. Real cyrillic table in any OC Windows is ( windows-1251 or CP1251)Ĭyrillic charecter in any generated by Nextion Editor font located uncorrectly - wrong places. If i had defined cyrillic chars string in my C program on PC ( editor does not matter ) Example : t0.txt=“Русский текст” and send it via MCU USART into any Nextion LCD will be displayed on LCD other cyrillic letters - mess. click on the menu "File" > "Open Build Folder" find the file in our case "Weather.tft" and copy it to the SD card.Any font in KOI-8 or 8859-5 ( cyrillic ) are incompatible.When you have placed and position all the elements: For each text element set on the right bottom "Attributes" window, the font to 0 objname.From the Toolbox on the left drag 3x "text", place it where it will show the data.Close the Dialog box and the generated font will show up on the botton left under "Fonts" tab with the ID 0.Click "Generate Font" and save it somwhere, when asked "Add the generated font?" click Yes.Create the font that will be used to display time,temperature and humidity and set the name like "MyFont1".On the menu click on "Tools>Font generator" Select each Picture element and on the right-bottom "Attribute" window double click on "pic" field and select the picture, do this for every picture element (3x).You can download some nice icons from the internet for time,temperatue and humidity (like Iconarchive website) On the left-bottom select "Picture" tab, click + button and load the pictures.From the Toolbox on the left drag 3x picture.Then "Settings" Dialog will show, select the type of Display that you have.
#Nextion lcd font wizard software

First make sure the SD card is formatted in FAT32 (Use some software like card formatter )
