-
Notifications
You must be signed in to change notification settings - Fork 10
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 chars are not shown fzf #26
Comments
I am find ugly solution with In my startup bat script set: SET FZF_DEFAULT_OPTS=--no-height
SET FZF_CTRL_T_COMMAND=dir_utf8 /b /s /a:-s $dir
SET FZF_ALT_C_COMMAND=dir_utf8 /b /s /a:d-s $dir and in @DIR %* | iconv -c -f 866 -t utf-8 |
I don't think this is related to clink-fzf. But Clink uses utf8. And since fzf is a *nix app cross-compiled for Windows, fzf probably uses utf8. Read the section icons in fzf which mentions the |
Thank you! Now with SET FZF_DEFAULT_OPTS=--no-height
SET FZF_CTRL_T_COMMAND=dirx --utf8 /b /s /a:-s $dir
SET FZF_ALT_C_COMMAND=dirx --utf8 /b /s /a:d-s $dir |
I'll add some text in the README about fzf's utf8 expectation. Maybe I can even find a way to allow configuring whether clink-fzf's But really the |
There isn't a good way for the An important feature of
I opened junegunn/fzf#4065 for that, and I also commented on junegunn/fzf#3799. Both are Windows-specific issues; 4065 is about processing redirected stdin, and 3799 is about processing direct keyboard input.
Done (here). |
Closing this issue. The clink-fzf documentation now covers the FZF known issues about Unicode content. The rest of what's discussed here lies in FZF itself and is tracked by the FZF issues cited above. |
I've made changes in fzf.lua to automatically add a That should eliminate the need for adding custom user-configured workarounds. (See commit 76a76a1.) |
Hello!
Non ASCII chars are not shown fzf:
There is a description of the solution in Can't input non ascii characters #3799 - specify
--no-height
and it works, but only for an independent call in cmd.If I set
fzf.height =
inclink_settings
andSET FZF_DEFAULT_OPTS=--no-height
, then pressing Ctrl+T does not work. In the task manager com. the line"fzf.exe" --reverse --scheme=path --no-height -i -m
- if called directly, it works correctly.My knowledge of lua is extremely low, apparently the problem is somewhere in the code
I use ConEmu on Windows 10.
Add:
In
command
=dir /b /s /a:d-s $dir
that returns in codepage=866The text was updated successfully, but these errors were encountered: