[GH-ISSUE #1905] 1.8.3更新后原有配置下发现中文无法显示 #1140

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

Originally created by @sguphil on GitHub (Nov 19, 2020).
Original GitHub issue: https://github.com/electerm/electerm/issues/1905

Electerm version:

1.8.3

Operating system(linux, macos, or windows7/8/10?):

centos8 xfce

Expected Behavior

Can you reproduce the same behavior in other terminal:

系统默认终端无问题,升级前没有问题

Current Behavior

出现中文无法显示并弹出一次信息:
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en-US): No such file or directory

Possible Solution

Steps to Reproduce

Context (Environment)

Detailed Description

Suggestions?

Originally created by @sguphil on GitHub (Nov 19, 2020). Original GitHub issue: https://github.com/electerm/electerm/issues/1905 <!--- Provide some basic info --> ## Electerm version: 1.8.3 ## Operating system(linux, macos, or windows7/8/10?): centos8 xfce ## Expected Behavior <!--- Tell me what should happen --> ## Can you reproduce the same behavior in other terminal: <!--- If same bahavior happens in other terminal, maybe it is supposed to be like this or not a problem of terminal app --> 系统默认终端无问题,升级前没有问题 ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> 出现中文无法显示并弹出一次信息: /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en-US): No such file or directory ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 2. 3. 4. ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
kerem closed this issue 2026-02-27 00:02:22 +03:00
Author
Owner

@sguphil commented on GitHub (Nov 19, 2020):

目前只能降级回去1.7.18了,而且好像新版本打开的时候比以前卡

<!-- gh-comment-id:730107779 --> @sguphil commented on GitHub (Nov 19, 2020): 目前只能降级回去1.7.18了,而且好像新版本打开的时候比以前卡
Author
Owner

@zxdong262 commented on GitHub (Nov 19, 2020):

我试了一下没有问题,有其他设置吗,默认不是bash?

<!-- gh-comment-id:730172785 --> @zxdong262 commented on GitHub (Nov 19, 2020): 我试了一下没有问题,有其他设置吗,默认不是bash?
Author
Owner

@sguphil commented on GitHub (Nov 19, 2020):

用的zsh,升级前没问题

<!-- gh-comment-id:730327470 --> @sguphil commented on GitHub (Nov 19, 2020): 用的zsh,升级前没问题
Author
Owner

@sguphil commented on GitHub (Nov 19, 2020):

手动配置以下项后中文显示恢复正常了:
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8

<!-- gh-comment-id:730333171 --> @sguphil commented on GitHub (Nov 19, 2020): 手动配置以下项后中文显示恢复正常了: export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8
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#1140
No description provided.