How to get UTF-8 to work properly from a Linux SSH client
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- c, linux
- 领域
- networking
调研方向
Start by reproducing the reported command from a Linux SSH client against Windows PowerShell 5.1, then trace how the remote command handles the UTF-8 input and output encoding. Compare the returned byte or character values with the expected ä; done means the command displays ä correctly. The issue names no source file or test, so locating the relevant SSH or console encoding path will take project familiarity.
由索引模型根据 Issue 内容生成。
描述
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Steps to reproduce
How do I get UTF-8 to work properly from a Linux SSH client?
$ ssh MyWindowsPC "echo ä"
\204
Octal 204 = decimal 132 = hexadecimal 84 is the code for 'ä' in Code Page 437.
UTF-8 works fine on my Linux box. Environment variable LANG is set to "en_US.UTF-8".
Expected behavior
$ ssh MyWindowsPC "echo ä"
ä
Actual behavior
$ ssh MyWindowsPC "echo ä"
\204
Error details
Environment data
Name Value
---- -----
PSVersion 5.1.20348.5386
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.20348.5386
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Version
OpenSSH_for_Windows_9.5p2, LibreSSL 3.8.2
Visuals
No response
- 主要语言
- 没有语言数据
- 星标
- 8.3k
- 派生
- 821
- 平均合并
- 12 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PowerShell/Win32-OpenSSH 的其他 Issue
-
Area-ssh-agent Issue-Upstream Parity
难度 2/5 1-3 小时 新手友好度 74/100
PowerShell/Win32-OpenSSH#2458 · 1 个 reaction ·
-
Area-sshd Issue-Bug More info needed Waiting on Author
难度 4/5 3-5 天 新手友好度 38/100
PowerShell/Win32-OpenSSH#2469 · 1 条评论 · 1 个 reaction ·
-
Area-Authentication Area-Logging/Diagnostics Area-sshd Investigate Issue-Bug
难度 4/5 3-5 天 新手友好度 48/100
PowerShell/Win32-OpenSSH#2466 · 1 条评论 · 1 个 reaction ·
-
Area-sshd Area-Terminal Investigate Issue-Regression
难度 4/5 3-5 天 新手友好度 48/100
PowerShell/Win32-OpenSSH#2465 · 1 条评论 · 1 个 reaction ·
-
Area-ssh-agent Issue-Enhancement
难度 5/5 一周以上 新手友好度 25/100
PowerShell/Win32-OpenSSH#2462 · 1 条评论 · 1 个 reaction ·
查看 PowerShell/Win32-OpenSSH 的全部 Issue
相似的 Issue
-
Guardian health server binds :8080 and collides with the Voltron proxy可能已有人在做 @denislemire 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
projectcalico/calico#14341 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
blinklabs-io/dingo#5368 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
area/cli
难度 2/5 半天 新手友好度 78/100
quarkusio/quarkus#57623 · 1 条评论 ·
维护者通常 1 天内回复