Skip to content

Higher unicode ranges (e.g. U+A50x until U+A60x) not going through #478

Closed

Description

@2mc

When working with 'emacs -nw' over ssh all higher unicode characters are displayed correctly (e.g. the VAI block U+A50x until U+A60x), but if connecting via mosh (to the same machine with the same fonts etc.) the characters are either boken up in something else or will not show at all. This does not happen with lower unicode blocks like e.g. polytonic greek (U+1F0x until U+1FFx).

Activity

  1. andersk commented on Dec 3, 2013

    @andersk
    Member

    The VAI block was introduced in Unicode 5.1, which is supported by glibc 2.8 and later. mosh only works with characters supported by libc on both the client and the server, so that they can agree on the character’s width. Do you have glibc 2.8 or later on both the client and the server?

  2. 2mc commented on Dec 3, 2013

    @2mc
    Author

    Well, I installed mosh 1.2.4 via homebrew on osx 10.7.5, 10.8.5 and via cydia on jailbroken iOS 6.1.2. Whatever combination of server and client I use (even on lookback 127.0.0.1) the behaviour stays the same.

  3. 2mc commented on Dec 7, 2013

    @2mc
    Author

    Please let me come back to the hint above. How can I test, if I have a build agaist glibc 2.8? Furthermore, how could I compile mosh with the neccessary glibc 2.8 on a Mac?

  4. kergoth commented on Feb 2, 2014

    @kergoth

    I'm getting problems rendering some unicode characters (though I don't know that its the same ones mentioned in this issue), going from mavericks to a linux box with glibc 2.15. ssh works fine, of course. In my case, it's the line drawing characters used by dvtm (http://www.brain-dump.org/projects/dvtm/). It shows 'q's and 'x's and 'w's instead.

  5. andersk commented on Feb 2, 2014

    @andersk
    Member

    @kergoth, that’s an entirely different issue. You probably lost the NCURSES_NO_UTF8_ACS=1 environment variable that mosh-server sets.

  6. kergoth commented on Feb 2, 2014

    @kergoth

    Ah, thanks!

  7. 2mc commented on Feb 2, 2014

    @2mc
    Author

    Hello again! As your eyes came across this older, still unresolved spot.

    Please, could anybody tell me how to build mosh on OSX against the necessary glibc 2.8 in order to test higher-unicode support?

  8. andersk commented on Feb 3, 2014

    @andersk
    Member

    I’m not a Mac person (I’m not even sure whether you’re using glibc or some other libc), so someone else will have to help you with that.

  9. 2mc commented on Feb 3, 2014

    @2mc
    Author

    Ok. Thank you for the clear answer!
    I am no longer waiting here.
    I don’t know which c libraries are involved when compiling on a mac either, but I’ll look somewhere else and then come back with hopefully useful infos or even results.

    However “Mac persons” reading this, are still very much welcome with their hints.

  10. mistydemeo commented on Feb 5, 2014

    @mistydemeo

    Just as a note, OS X uses BSD libc, not glibc.

  11. 2mc commented on Feb 5, 2014

    @2mc
    Author

    Yes, and meanwhile the ball is played back into the field of mosh -- at least as far as THE mac person from homebrew is concerned. He replied to this very problem that I posted there recently as follows:

    "Well, OS X does not use GNU libc ("glibc"), and Homebrew doesn't have any facilities for using an alternative standard library.
    Probably there are only two outcomes: either the problem can be fixed in mosh or it can't be made to work at all."
    

    Homebrew/legacy-homebrew#26370

    So I would appreciate a lot, if investigations on the mac front to build a version with higher unicode character support could be considered somehow.

  12. keithw commented on Feb 5, 2014

    @keithw
    Member

    Mosh relies on the operating system's libc for Unicode support. Apple unfortunately has been slow to update their C library.

    Mosh of course would prefer that Mac OS X get off their duff and update their Unicode tables in the libc they distribute. You can help by filing a Radar bug with Apple. In the meantime, Mosh is investigating shipping its own Unicode tables, but don't expect that to happen anytime soon.

  13. ghazel commented on Dec 23, 2014

    @ghazel

    Which libc functions specifically? ssh appears to work fine, as does a ruby built with rvm and python3 installed with homebrew.

    (I've been testing with things like python -c "print '\xf0\x9f\x91\x8d'", etc. which should render as 👍)

  14. keithw commented on Dec 23, 2014

    @keithw
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions