Probe basiс and Cyrillic characters

More
1 year 9 months ago - 1 year 9 months ago #317903 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?
 
Last edit: 1 year 9 months ago by AnkerFly.
The following user(s) said Thank You: Lcvette

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

More
1 year 9 months ago #318220 by Lcvette
will have a look! thank you for bringing to our attention!

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

More
1 year 9 months ago - 1 year 9 months ago #319699 by onceloved
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.
 
 
Last edit: 1 year 9 months ago by onceloved.
The following user(s) said Thank You: AnkerFly

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

More
1 year 8 months ago #321884 by AnkerFly
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
1 year 8 months ago #321999 by Lcvette
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
1 year 7 months ago #324261 by AnkerFly
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.

Moderators: KCJ, Lcvette
Time to create page: 0.349 seconds
Powered by Kunena Forum