raphamorim / rio

A hardware-accelerated GPU terminal emulator focusing to run in desktops and browsers.
https://raphamorim.io/rio
MIT License
3.51k stars 111 forks source link

bash: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8) #541

Closed div002123 closed 3 months ago

div002123 commented 3 months ago

system: macos 14.5 (m3)

Every time I execute a Git operation, I get this error. I don't have this issue when I use the system's built-in terminal.

bash: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)
MrPandir commented 3 months ago

@div002123 I think this is not a terminal issue, but rather your configuration. The Mac Terminal configures this for you, for easy use.

This may help you solve the problem: os-x-terminal-bash-warning-setlocale-lc_ctype-cannot-change-locale

div002123 commented 3 months ago

@MrPandir Thanks! I comment this in /etc/ssh/ssh_config and problems solved:

# Host *
#    SendEnv LANG LC_*