-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LANG environment variable not set #7053
Comments
Sounds like the system you're SSH'ing into is fucked. It probably doesn't have your locale generated. |
@chrisduerr Does this mean I should set the LANG environment variable manually? I can set envs section in cofiguration file to fix this, howerver iTerm2 and kitty automaticlly handled LANG env. |
Is your remote server takes the locale of you host upon connecting? That would be strange to be honest, usually your remote server should have its locale set, like configured in |
It seems that at least iterm is setting https://github.com/gnachman/iTerm2/blob/master/sources/PTYSession.m#L2524 This is all weird, but whatever... As a workaround you could set |
I think the problem lies in alacritty -vv prints: |
So does Alacritty. Why did you reopen this issue?
That means you have your locale set manually, which Alacritty will not override. |
We don't set
Locale on macOS is weird, they use plain |
We don't need to set |
You can try the following patch, that might fix things:
But this very much looks like you messed with your locale in your env and your system is broken because of it. |
To make it work, I will simply set the LANG environment in the configuration file. Building from source is too difficult for me since I am not familiar with Rust. |
For bug reports, the following information can help speed up the process. Please
describe the bug that you have found and what you would expect to happen
instead.
System
OS: macOS
Version: alacritty 0.12.2 (9d9982d)
LANG env not set after startup,works fine in local but after ssh to remote neovim checkhealth complains:
localhost locale output:
Is keep LANG unset a expect behavior ? Not sure about this because seen a merged PR to set $LANG env var using languageCode, countryCode: #1087
The text was updated successfully, but these errors were encountered: