Closed chenxiaolong closed 4 years ago
This commit changes the Invoke-Fzf function to send UTF-8 encoded text to the fzf process and read UTF-8 encoded text from stdout. Without this change, non-ASCII characters would not be handled correctly. For example:
$ echo '360°' | Invoke-Fzf 360∩┐╜ $ echo '360°' | fzf 360°
After the change:
$ echo '360°' | Invoke-Fzf 360°
Signed-off-by: Andrew Gunnerson chillermillerlong@hotmail.com
Thank you for the pull request!
A prerelease version including this change has been published: https://www.powershellgallery.com/packages/PSFzf/1.2.7-alpha
Thank you!
This commit changes the Invoke-Fzf function to send UTF-8 encoded text to the fzf process and read UTF-8 encoded text from stdout. Without this change, non-ASCII characters would not be handled correctly. For example:
After the change:
Signed-off-by: Andrew Gunnerson chillermillerlong@hotmail.com