Closed Aqaao closed 15 hours ago
I have no idea of how those PowerShell things work, so as usual, I'd like somebody else to confirm this is OK
Pinging @luiz00martins, sorry to bother you, but can you please confirm if -Encoding UTF8
is OK, since you're the original author of the PowerShell wrapper ;)
Can you reproduce it in PowerShell 7+?
Can you reproduce it in PowerShell 7+?
I installed PowerShell 7 , it does not have this issue, error only occurs in the pre-installed PowerShell 5.
Moved to https://github.com/yazi-rs/yazi-rs.github.io/issues/170 as it's an error with the doc not Yazi itself
Closing in favor of that issue
What system are you running Yazi on?
Windows
What terminal are you running Yazi in?
wezterm
yazi --debug
outputDescribe the bug
Windows powershell Chinese character decoding error when use "y" command.
Minimal reproducer
start yazi via "y" alias, select a path that contains Chinese characters, then press "q" quit yazi.
Anything else?
Resolved via add
-Encoding UTF8
arg to Powershell wrapper function's line 4.Maybe docs should be modified to add this arg ?
Validations
yazi --debug
) input box to the nightly that I triedmv ~/.config/yazi ~/.config/yazi-backup
)