[GH-ISSUE #3094] sftp 打开本地文件时,中文文件名或者有中文目录时,无法打开文件 #2049

Closed
opened 2026-02-27 00:05:51 +03:00 by kerem · 4 comments
Owner

Originally created by @NB611 on GitHub (Nov 15, 2023).
Original GitHub issue: https://github.com/electerm/electerm/issues/3094

Electerm Version and download file extension(Electerm版本和下载文件后缀)

1.34.58.win-x64-installer.exe

Platform detail (平台详情)

win64

What steps will reproduce the bug?(重新问题的详细步骤)

sftp连接后,打开本地文件时,中文文件名或者有中文目录,无法打开文件,报错信息如下:
Invoke-Item : ObjectNotFound

What should have happened?(期望的结果)

可以正常打卡中文名文件或者有中文目录文件

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

No response

Additional information(其他任何相关信息)

No response

Originally created by @NB611 on GitHub (Nov 15, 2023). Original GitHub issue: https://github.com/electerm/electerm/issues/3094 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) 1.34.58.win-x64-installer.exe ### Platform detail (平台详情) win64 ### What steps will reproduce the bug?(重新问题的详细步骤) sftp连接后,打开本地文件时,中文文件名或者有中文目录,无法打开文件,报错信息如下: Invoke-Item : ObjectNotFound ### What should have happened?(期望的结果) 可以正常打卡中文名文件或者有中文目录文件 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
kerem 2026-02-27 00:05:51 +03:00
Author
Owner

@zxdong262 commented on GitHub (Nov 15, 2023):

感谢反馈,将在下个版本修复

<!-- gh-comment-id:1811703205 --> @zxdong262 commented on GitHub (Nov 15, 2023): 感谢反馈,将在下个版本修复
Author
Owner

@zxdong262 commented on GitHub (Nov 15, 2023):

请问后缀名是什么,如果到文件夹双击打开什么情况,会不会是没有绑定打开程序?

<!-- gh-comment-id:1811740600 --> @zxdong262 commented on GitHub (Nov 15, 2023): 请问后缀名是什么,如果到文件夹双击打开什么情况,会不会是没有绑定打开程序?
Author
Owner

@NB611 commented on GitHub (Nov 15, 2023):

后缀名就是txt,在文件夹可以打开
image

<!-- gh-comment-id:1811744027 --> @NB611 commented on GitHub (Nov 15, 2023): 后缀名就是txt,在文件夹可以打开 ![image](https://github.com/electerm/electerm/assets/20264874/0c3d51d9-6ee6-4530-a6b7-6700e31e3dbd)
Author
Owner

@zxdong262 commented on GitHub (Nov 15, 2023):

明白了,确实是中文路径的就打不开

<!-- gh-comment-id:1811766330 --> @zxdong262 commented on GitHub (Nov 15, 2023): 明白了,确实是中文路径的就打不开
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2049
No description provided.