Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode support #36

Open
4 tasks
piotao opened this issue Mar 30, 2023 · 2 comments
Open
4 tasks

Unicode support #36

piotao opened this issue Mar 30, 2023 · 2 comments

Comments

@piotao
Copy link

piotao commented Mar 30, 2023

Text written with utf8 encoding is garbled in the terminal with no apparent reason, no matter what terminal window is used. At least in konsole and x-terminal-emulator, on UTF8-enabled system.

Result in app:

  • x +2x=0
  • ~B ~G
  • duck: ~_ ~F
  • normal text works

Text in TODO:
TODO: x²+2x=0
TODO: żółć
TODO: duck: 🦆
TODO: normal text works

@4yman-0
Copy link

4yman-0 commented Dec 14, 2024

At least in konsole and x-terminal-emulator

Today, I installed todo-rs and ran it from mate-terminal on Arch Linux and can't reproduce this bug. Can you check the fonts/terminals you installed?

@piotao
Copy link
Author

piotao commented Dec 14, 2024

unfortunately I can't. It was more THAN ONE YEAR AGO, so sorry dude, it was a too-slow reply. I had another two versions of the system right now, since then, now it's on 23.4.

but...
I believe it was on MX Linux 23.1 or .2 system version, with xfce4 as a manager. Text was entered into a file with vim with no problems, displayed with no problem, cat/less/more were working and all chars were OK; and when it was displayed on the very same window from rust, it has this garbled content. Certainly some utf8 recoding/another stupid issue occured, but fonts and glyps and default terminal configuration simply worked.

I think there may be something with terminal configuration, maybe some flag was missing in the program, dunno. Maybe there is a single another step required. And right now I unfortunately have other important issues to fight - so I can only return to that in the future, hopefully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants