francoismichel / francoismichel/ssh3

Unicode support: LANG env variables is not getting passed

Open
#151 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
5k
Forks
118
PR merge metrics
No merged PRs in 30d

Description

When I connect with usual ssh and type some Cyrillic letters it's ok, but when I connect via ssh3 and try to type something Cyrillic, the command line just brakes, only one letter make it broken.

Also when I try to list a directory with files not in standard ASCII symbols, is shows quite strange escaped characters.
`ls -la` command gives me something like this:
```
drwxr-xr-x 2 grbit grbit 4096 Aug 15 21:50 youtube
drwxrwxr-x 3 grbit grbit 4096 Jun 24 18:37 ''$'\320\220\320\261\321\201\321\202\321\200\320\260\320\272\321\206\320\270\321\217'' '$'\320\230\321\201\320\272\321\203\321\201\321\201\321\202\320\262\320\276'' '$'\320\264\320\270\320\267\320\260\320\271\320\275\320\260'
-rw-r--r-- 1 grbit grbit 2033804138 Nov 27 2023 ''$'\320\221\321\200\320\265\320\274\320\265\320\275\321\201\320\272\320\270\320\265'' '$'\320\234\321\203\320\267\321\213\320\272\320\260\320\275\321\202\321\213'' '$'\320\270'' Co.mkv'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.