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
mosh can't display emoji #3034
Comments
+1. i face the same issue. |
|
mobile-shell/mosh#234 (comment) |
If mosh is a Windows program (see my question 4 above), output is likely to be incompatible with UTF-8 handling. |
well i took ten hours try to find what's wrong. Then I find that the following code does not work right in msys2.
Result in msys2
Result in debian or WSL
but there is no libc in msys2.
I suggest that using another way to split string into cells would be bring a high compatibility. |
So the emojis are displayed in your test program. |
mosh is a msys2 package which is like ssh. |
Running ssh from MSYS: printf '\U0001fa79' |
yes. |
Describe the issue
Mosh under msys2 can't display characters that need more than 2 bytes to encode in utf-16.
Steps to Reproduce the Problem
printf '\U000102A1\n'
��
instead of🩹
Additional Context: Operating System, Screenshots
Everything seems to work properly if I use ssh instead of mosh, or mosh under wsl. Locale is set to en_US.UTF-8 on both sides.
OS: Windows 10 Pro version 21H2 19044.1706
The text was updated successfully, but these errors were encountered: