- Posts: 15
- Thank you received: 0
Probe basiс and Cyrillic characters
1 year 9 months ago #317903
by AnkerFly
Probe basiс and Cyrillic characters was created by AnkerFly
The program cannot work correctly with Cyrillic characters in the text program.
I am attaching a file with Russian characters. I'm asking for help. How can I make probebasic understand Cyrillic?
I am attaching a file with Russian characters. I'm asking for help. How can I make probebasic understand Cyrillic?
Please Log in to join the conversation.
1 year 9 months ago #318220
by Lcvette
Replied by Lcvette on topic Probe basiс and Cyrillic characters
will have a look! thank you for bringing to our attention!
Please Log in to join the conversation.
1 year 9 months ago #319699
by onceloved
Replied by onceloved on topic Probe basiс and Cyrillic characters
Edit this file
sudo geany /usr/lib/python3/dist-packages/qtpyvcp/utilities/encode_utils.py
Move the koi8_r character set to the first position
For example, if I want it to display Chinese, just put utf-8 in the first place.
sudo geany /usr/lib/python3/dist-packages/qtpyvcp/utilities/encode_utils.py
Move the koi8_r character set to the first position
For example, if I want it to display Chinese, just put utf-8 in the first place.
Attachment not found
Please Log in to join the conversation.
1 year 8 months ago #321884
by AnkerFly
Replied by AnkerFly on topic Probe basiс and Cyrillic characters
Good afternoon.
Thank you! Everything worked out for me.
I had to try different encoding options.
Thank you! Everything worked out for me.
I had to try different encoding options.
Please Log in to join the conversation.
1 year 8 months ago #321999
by Lcvette
Replied by Lcvette on topic Probe basiс and Cyrillic characters
excellent news! can you tell which encoding worked? perhaps we can add to the repository
Please Log in to join the conversation.
1 year 7 months ago #324261
by AnkerFly
Replied by AnkerFly on topic Probe basiс and Cyrillic characters
I just tried it and solved the issue for myself for the future.
I have difficulty updating to the new version of qtvcp and probebasic. I decided to postpone this process. I don't have time yet. But in the test configuration I tried the encoding cp1251, if I remember correctly. The test configuration reads my files correctly, but my machine does not work. I hope I am expressing my thoughts clearly.
In the first position of the encode_utils.py file I inserted the cp1251 encoding
But you can check it yourself. At the beginning of the topic I attached a file with Russian text.
I have difficulty updating to the new version of qtvcp and probebasic. I decided to postpone this process. I don't have time yet. But in the test configuration I tried the encoding cp1251, if I remember correctly. The test configuration reads my files correctly, but my machine does not work. I hope I am expressing my thoughts clearly.
In the first position of the encode_utils.py file I inserted the cp1251 encoding
But you can check it yourself. At the beginning of the topic I attached a file with Russian text.
Please Log in to join the conversation.
1 year 7 months ago #324547
by Lcvette
Replied by Lcvette on topic Probe basiс and Cyrillic characters
ok great, will have a look. need to see if there is a way to have that set from system preferences maybe. hmmm
Please Log in to join the conversation.
Time to create page: 0.085 seconds
