![]() ![]() ![]() This is used to encode text string in the debugger.Īny encoding, but the encoding of the text sent should match the encoding of the associated font. This is used to encode text using the encoding of the associated font. This is used to encode all text in Event Scriptblocks. 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. 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. 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. Any font in KOI-8 or 8859-5 ( cyrillic ) are incompatible. ![]()
0 Comments
Leave a Reply. |