Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: WSL on English (Europe) - Bad encoding of string during install #900

Open
3 tasks done
jsamuel1 opened this issue Mar 23, 2025 · 3 comments
Open
3 tasks done

Comments

@jsamuel1
Copy link
Collaborator

Checks

Operating system

Windows - WSL - Ubuntu

Expected behaviour

Expect > to display and Up/Down and Enter to work when running install.sh.

Actual behaviour

Image

Steps to reproduce

Run Install.sh on the wsl instance, from a regular shell window.

Environment

@thomas2ab-sudo
Copy link

Here is my environment set-up which is showing those encoding issues:
OS Name: Microsoft Windows 10 Enterprise
Version: 10.0.19045 Build 19045
Locale: United States
Time Zone: Romance Standard Time

WSL locale: (typing locale on the WSL terminal - I tried PowerShell and classic CMD)

LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=

@jsamuel1
Copy link
Collaborator Author

It looks to be an issue with the conhost.exe terminal (Left) not being able to display extended characters.
Terminal.exe (Windows Terminal) is working OK on the same host.

Differences in Environment Variable that can help us detect:

Conhost Win Terminal
WSLENV= WSLENV=WT_SESSION:WT_PROFILE_ID:
WSL_DISTRO_NAME=Ubuntu WSL_DISTRO_NAME=Ubuntu
WSL2_GUI_APPS_ENABLED=1 WSL2_GUI_APPS_ENABLED=1
WSL_INTEROP=/run/WSL/nnnnn_interop WSL_INTEROP=/run/WSL/nnnnn_interop

Image

@jsamuel1
Copy link
Collaborator Author

From q diagnostics
[system-info.os.linux]
kernel_version = "6.6.75.1-microsoft-standard-WSL2"
id = "ubuntu"
name = "Ubuntu"
pretty_name = "Ubuntu 24.04.1 LTS"
version_id = "24.04"
version = "24.04.1 LTS (Noble Numbat)"

[environment]
cwd = "/home/USER"
cli-path = "/home/USER"
os = "Linux"
shell-path = "/usr/bin/zsh"
shell-version = "5.9"
install-method = "unknown"
in-wsl = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants