HP Forums
HP Prime is unable to correctly print utf-8 encoded characters when running python sc - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: HP Prime is unable to correctly print utf-8 encoded characters when running python sc (/thread-20475.html)



HP Prime is unable to correctly print utf-8 encoded characters when running python sc - GilsonCarvalho - 09-08-2023 12:59 PM

When I use only ASCII characters the calculator prints the text normally without fail, however when I use some special utf-8 characters, the calculator prints the character no so it is followed by symbols and strange letters that shouldn't appear.
To try to solve this I already tried to use some commands to try to fix the coding, but without success, I'll explain better by images.

Does anyone have a solution for this problem?
Would that be a bug?
Could someone test it on their own calculator and see if it happens to yours too?


RE: HP Prime is unable to correctly print utf-8 encoded characters when running python sc - komame - 09-09-2023 12:52 PM

I confirm.
It looks like a bug in the Python environment for Prime.


RE: HP Prime is unable to correctly print utf-8 encoded characters when running python sc - toml_12953 - 09-09-2023 06:13 PM

(09-09-2023 12:52 PM)komame Wrote:  I confirm.
It looks like a bug in the Python environment for Prime.

One more bug in a very long and growing list. Let's hope Moravia give Python a high priority!