[GH-ISSUE #2853] 中文输入乱码 #1872

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

Originally created by @zjl369 on GitHub (Jun 15, 2023).
Original GitHub issue: https://github.com/electerm/electerm/issues/2853

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

electerm-1.25.50-win-x64-installer.exe

Platform detail (平台详情)

Microsoft Windows NT 10.0.19045.0 x64

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

系统编码为 zh_CN.gb18030
electerm编码为 gb18030
QQ拼音输入法输入中文乱码(感觉和输入法关系不大吧)

GIF 2023-6-15 10-00-39

系统编码为 en_US.UTF-8
electerm编码为 utf-8
QQ拼音输入法输入中文正常

GIF 2023-6-15 10-20-55

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

以下编码环境

系统编码 electerm编码
zh_CN.gb18030 gb18030
zh_CN.gbk gbk

输入中文正常显示,并且可以在 vim tail less 等命令中输入中文正确搜索

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

MobaXterm 也有类似的问题

版本为 20.3,估计到最新版还是有问题,中文编码支持比较差

系统编码为 zh_CN.gb18030
MobaXterm 编码为 gbk (这终端没有 gb18030 编码,不过二者汉字编码应该是兼容的)
QQ拼音输入法输入中文偶发乱码

GIF 2023-6-15 10-54-31

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

Windterm 正常

版本为 2.5.0

系统编码为 zh_CN.gb18030
Windterm 编码为 gb18030
QQ拼音输入法输入中文正常

GIF 2023-6-15 11-09-53

Originally created by @zjl369 on GitHub (Jun 15, 2023). Original GitHub issue: https://github.com/electerm/electerm/issues/2853 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.25.50-win-x64-installer.exe ### Platform detail (平台详情) Microsoft Windows NT 10.0.19045.0 x64 ### What steps will reproduce the bug?(重新问题的详细步骤) 系统编码为 `zh_CN.gb18030` electerm编码为 `gb18030` QQ拼音输入法输入中文乱码(感觉和输入法关系不大吧) ![GIF 2023-6-15 10-00-39](https://github.com/electerm/electerm/assets/50287763/1ab8cde7-247b-45eb-8043-8c8264885703) 系统编码为 `en_US.UTF-8` electerm编码为 `utf-8` QQ拼音输入法输入中文正常 ![GIF 2023-6-15 10-20-55](https://github.com/electerm/electerm/assets/50287763/58ec3e59-ea9c-4072-9215-beca03a7d87a) ### What should have happened?(期望的结果) 以下编码环境 | 系统编码 | electerm编码 | |-------------------|----------------| | zh_CN.gb18030 | gb18030 | | zh_CN.gbk | gbk | 输入中文正常显示,并且可以在 `vim` `tail` `less` 等命令中输入中文正确搜索 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) #### MobaXterm 也有类似的问题 版本为 20.3,估计到最新版还是有问题,中文编码支持比较差 系统编码为 `zh_CN.gb18030` MobaXterm 编码为 `gbk` (这终端没有 `gb18030` 编码,不过二者汉字编码应该是兼容的) QQ拼音输入法输入中文偶发乱码 ![GIF 2023-6-15 10-54-31](https://github.com/electerm/electerm/assets/50287763/ebc0a93f-00e8-4478-9d9e-29894f09e3f1) ### Additional information(其他任何相关信息) #### Windterm 正常 版本为 2.5.0 系统编码为 `zh_CN.gb18030` Windterm 编码为 `gb18030` QQ拼音输入法输入中文正常 ![GIF 2023-6-15 11-09-53](https://github.com/electerm/electerm/assets/50287763/2509fa98-f6db-4ddd-920e-94138a31ff93)
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#1872
No description provided.