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

Non-ASCII characters are displayed as % in command line on Windows #560

Open
tdillenburg opened this issue Jun 25, 2020 · 2 comments
Open
Labels

Comments

@tdillenburg
Copy link

Characters such as ç and ~ are showing as % on vifm command line Windows 10 (version 2004). On vifm "window" (not sure about the name) is showing correctly.

image

System locale is set as pt-BR. Neovim is working ok, so I can still q: to input comands with this characters.
Tested on cmd and cmder (git bash), with builds v0.10.1-323-ge474079382dd and v0.10.1-599-g5b0ee3cd0c6e-dirty.
With current release it shows a undefined character ဦ : image

@xaizek xaizek added the windows label Jun 25, 2020
@xaizek
Copy link
Member

xaizek commented Jun 25, 2020

All versions behave consistently and differently from your description for me, but that might be due to a different locale. I can paste ç to emulate inputting it without trouble. It is displayed and processed correctly.

Is it just displayed like that or characters are transformed into %/? on your side? You can check what file ends up being created when statusbar contains a command like :touch <type-problematic-characters-here>. You can also try pasting name of current file in statusbar with Ctrl-X c.

@tdillenburg tdillenburg changed the title Non-ASCII characters showing as % in command line on Windows Non-ASCII characters are displayed as % in command line on Windows Jun 25, 2020
@tdillenburg
Copy link
Author

If I type touch ç it is displayed as touch % and outputs the error Too few arguments. When I copy and paste a file with this characters it adds quotes, for instance "ação" and I'm unable to paste it back into vifm's command line.

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

No branches or pull requests

2 participants