Skip to content

FZF_DEFAULT_COMMAND doesn't process Cyrillic correctly #2923

Open
@FallenGameR

Description

@FallenGameR
  • I have read through the manual page (man fzf)

  • I have the latest version of fzf: 0.32.1 (4993d19)

  • I have searched through the existing issues

  • OS: Windows

  • Shell: pswh 7.2.5 on Windows Terminal

Problem / Steps to reproduce

Piped-in input is processed correctly but the same command when invoked via FZF_DEFAULT_COMMAND returns ??? chars:

"ls -Directory | % fullname" > D:\OneDrive\Books\cmd.ps1
$env:FZF_DEFAULT_COMMAND = "pwsh.exe -nop -f D:\OneDrive\Books\cmd.ps1"

& D:\OneDrive\Books\cmd.ps1 | fzf
>
> D:\OneDrive\Books\Всем                                                                                                                                                      
  D:\OneDrive\Books\Детям                                                                                                                                                     
  D:\OneDrive\Books\Папе

fzf
>
> D:\OneDrive\Books\????                                                                                                                                                      
  D:\OneDrive\Books\?????                                                                                                                                                     
  D:\OneDrive\Books\????      

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions