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
Unable to display some UTF-8 sequences #1186
Comments
I'm seeing the same problem. I think that the cause is that mosh is usiing My test program:
which I see this:
Bad Apple. No "hot beverage". (Further investigation suggests that some of the script blocks in Unicode 4.1 return positive widths, but not all. So it's not consistent. But I don't know enough about either mosh coding choices or the Apple APIs to suggest a patch to conditionally use the non-SNAFU Apple propriatery APIs to fix this stupidity. |
@nwc10 that makes sense. I did a plain ssh from macOS -> Ubuntu and then used mosh to connect from Ubuntu -> Ubuntu and all characters are printed without any issue. |
This is a duplicate of #234 |
I'm running mosh 1.3.2 on macOS Monterey installed using Homebrew. My terminal app of preference is iTerm2 and when I'm on it, everything works as expected. It also works as expected when I connect to other machines using plain ssh.
I see the same behavior using mosh to connect to 3 different systems: FreeBSD 14-CURRENT, Ubuntu Server 20.04 and Ubuntu Server 22.04.
I found issue #988 but it doesn't seem to be related to running an old glibc. One of those systems was released yesterday (ubuntu 22.04) and other one is a FreeBSD, which doesn't have glibc at all.
I tried the problem reported on #988 and
echo -e "\xf0\x9f\xA4\x94"
produces on all systems listed above proper 🤔 emoji. But if I doecho -e "\xe2\xac\x86"
I don't see expected ⬆, instead, it shows blank character.The text was updated successfully, but these errors were encountered: