Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

How to get UTF-8 to work properly from a Linux SSH client

Đang mở
#2,468 4 bình luận 1 reaction 0 người được giao Xem trên GitHub

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ả

0 - Backlog Area-sshd Area-Terminal Investigate Issue-Bug
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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PowerShell/Win32-OpenSSH

Tất cả issue của PowerShell/Win32-OpenSSH

Issue tương tự

Thêm issue về Networking

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.