[GH-ISSUE #4099] 汉字乱码。在项目(GB18030-2022)与编辑器编码均设置为GB18030后,ssh的命令输入提示符处,输入命令包含汉字时,汉字乱码。尤其影响grep匹配。 #2835

Open
opened 2026-02-27 00:54:26 +03:00 by kerem · 0 comments
Owner

Originally created by @WangXZo on GitHub (Oct 30, 2025).
Original GitHub issue: https://github.com/electerm/electerm/issues/4099

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

electerm-2.3.6-win-x64-installer.exe

Platform detail (平台详情)

Linux coreapp3 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 30 15:51:32 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

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

find /YBT/ | grep '姹夊瓧'

汉字乱码。

在项目(GB18030-2022)与编辑器编码均设置为GB18030后,
ssh的命令输入提示符处,输入命令包含汉字时,汉字乱码。
尤其影响grep匹配。

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

正常输入命令
如:find /YBT/ | grep '汉字’

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

不能复现

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

No response

Originally created by @WangXZo on GitHub (Oct 30, 2025). Original GitHub issue: https://github.com/electerm/electerm/issues/4099 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-2.3.6-win-x64-installer.exe ### Platform detail (平台详情) Linux coreapp3 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 30 15:51:32 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux ### What steps will reproduce the bug?(重现问题的详细步骤) find /YBT/ | grep '姹夊瓧' 汉字乱码。 在项目(GB18030-2022)与编辑器编码均设置为GB18030后, ssh的命令输入提示符处,输入命令包含汉字时,汉字乱码。 尤其影响grep匹配。 ### What should have happened?(期望的结果) 正常输入命令 如:find /YBT/ | grep '汉字’ ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) 不能复现 ### Additional information(其他任何相关信息) _No response_
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#2835
No description provided.