How to get UTF-8 to work properly from a Linux SSH client
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- c, linux
- Área
- networking
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 8.3k
- Forks
- 821
- Merge medio
- 12 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PowerShell/Win32-OpenSSH
-
Area-ssh-agent Issue-Upstream Parity
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
PowerShell/Win32-OpenSSH#2458 · 1 reacción ·
-
Area-Authentication Area-Logging/Diagnostics Area-sshd Investigate Issue-Bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
PowerShell/Win32-OpenSSH#2466 · 1 comentario · 1 reacción ·
-
Area-sshd Area-Terminal Investigate Issue-Regression
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
PowerShell/Win32-OpenSSH#2465 · 1 comentario · 1 reacción ·
-
Area-ssh-agent Issue-Enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
PowerShell/Win32-OpenSSH#2462 · 1 comentario · 1 reacción ·
-
Area-ssh-agent Investigate
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
PowerShell/Win32-OpenSSH#2460 · 1 reacción ·
Todos los issues de PowerShell/Win32-OpenSSH
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
amnezia-vpn/amnezia-client#3297 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
`dns_resp_find` never checks the answer CLASS, so a non-IN record is returned as if it were INAbiertobug lompi sev-3
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Feature Feature Parity
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
valkey-io/valkey-glide-ruby#369 ·
Los mantenedores suelen responder en 2 días