Probe basiс and Cyrillic characters

More
03 Jan 2025 07:44 - 03 Jan 2025 07:45 #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?
 
Attachments:
Last edit: 03 Jan 2025 07:45 by AnkerFly.
The following user(s) said Thank You: Lcvette

Please Log in or Create an account to join the conversation.

More
06 Jan 2025 13:46 #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 or Create an account to join the conversation.

More
23 Jan 2025 08:20 - 23 Jan 2025 08:24 #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.
 
 
Attachments:
Last edit: 23 Jan 2025 08:24 by onceloved.
The following user(s) said Thank You: AnkerFly

Please Log in or Create an account to join the conversation.

More
18 Feb 2025 01:24 #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.
The following user(s) said Thank You: Lcvette

Please Log in or Create an account to join the conversation.

More
19 Feb 2025 16:38 #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 or Create an account to join the conversation.

More
19 Mar 2025 04:11 #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.

Please Log in or Create an account to join the conversation.

More
22 Mar 2025 13:07 #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 or Create an account to join the conversation.

Moderators: KCJLcvette
Time to create page: 0.169 seconds
Powered by Kunena Forum