How to get UTF-8 to work properly from a Linux SSH client
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c, linux
- Lĩnh vực
- networking
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 8.3k
- Fork
- 821
- Merge trung bình
- 12 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PowerShell/Win32-OpenSSH
-
Area-ssh-agent Issue-Upstream Parity
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
PowerShell/Win32-OpenSSH#2458 · 1 reaction ·
-
SSHD service not availableĐang mởArea-sshd Issue-Bug More info needed Waiting on Author
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
PowerShell/Win32-OpenSSH#2469 · 1 bình luận · 1 reaction ·
-
Area-Authentication Area-Logging/Diagnostics Area-sshd Investigate Issue-Bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
PowerShell/Win32-OpenSSH#2466 · 1 bình luận · 1 reaction ·
-
Area-sshd Area-Terminal Investigate Issue-Regression
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
PowerShell/Win32-OpenSSH#2465 · 1 bình luận · 1 reaction ·
-
Area-ssh-agent Issue-Enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
PowerShell/Win32-OpenSSH#2462 · 1 bình luận · 1 reaction ·
Tất cả issue của PowerShell/Win32-OpenSSH
Issue tương tự
-
Proxy ignores l5d-retry-http and l5d-retry-grpc conditions that follow a comma and spaceCó thể đã có người làm @RaphaelFakhri đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
kubernetes-sigs/cluster-api-provider-ibmcloud#3023 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tunneld on Windows: Wi-Fi devices are not discovered because uvicorn runs on a ProactorEventLoopĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
doronz88/pymobiledevice3#2051 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Type: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
openscad/openscad#7126 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày