Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#2,468 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

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

主要言語
言語のデータがありません
スター
8.3k
フォーク
821
平均マージ
9分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PowerShell/Win32-OpenSSH のほかの issue

PowerShell/Win32-OpenSSH の issue をすべて見る

似ている issue

Networking の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。