You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have a home server that I need to connect to with ssh, but when I connect the prompt appears to not work? I found a similar problem here. But that did not solve my problem, please help. Image:
Some areas of the image were redacted.
What it says on the other bug report:
The problem is that the locale in your SSH session isn't using utf-8 encoding. If you try to print a non-ascii character with print '\u2B50' or echo $'\u2B50', you'll get "character not in range" error. It's not affecting just p10k but everything you run in the SSH session. To fix this problem you need to run locale -a, pick a locale that has utf8, utf-8 or UTF8 or UTF-8 in its name, and export LANG from your ~/.zshrc or ~/.zshenv with the value set to the chosen locale. For example: echo 'export LANG=C.UTF-8' >>! ~/.zshenv Or: echo 'export LANG=en_US.UTF-8' >>! ~/.zshenv
I tried the above and the locale was set correctly to en_GB.UTF-8 and the server's locale was set correctly too, yet this issue still occurs?
The text was updated successfully, but these errors were encountered:
Hello, I have a home server that I need to connect to with ssh, but when I connect the prompt appears to not work? I found a similar problem here. But that did not solve my problem, please help.
Image:
What it says on the other bug report:
I tried the above and the locale was set correctly to
en_GB.UTF-8
and the server's locale was set correctly too, yet this issue still occurs?The text was updated successfully, but these errors were encountered: