Open mike-2545 opened 2 years ago
Try to pass it in nextion editor. Does it work?
Yes it works in the Nextion editor, for python I added client.encoding = 'latin-1' and it works for text boxes but the scrolling text box does not .
Mike
From: Jevgeni Kiski Sent: Sunday, November 21, 2021 12:14 PM To: yozik04/nextion @.> Cc: mike-2545 @.>; Author @.***> Subject: Re: [yozik04/nextion] Degree symbol (Issue #23)
Try to pass it in nextion editor. Does it work?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yozik04/nextion/issues/23#issuecomment-974857461 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATA3XHE76NE77NSKUWPDZW3UNESGLANCNFSM5IPHGHGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . https://github.com/notifications/beacon/ATA3XHCSOHBG6SCGKTFSEIDUNESGLA5CNFSM5IPHGHG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHINSJ5I.gif
it works for text boxes but the scrolling text box does not.
I need code to reproduce. I have not tried to do anything with scrolling text boxes. You'd better capture what Nextion Editor sends and what my lib sends so we can see the difference.
I cannot get a degree symbol to pass to the Nextion from Raspberry Pi Zero Python
UnicodeEncodeError: 'ascii' codec can't encode character '\xb0' in position 19: ordinal not in range(128)
Mike