[ANNOUNCE] wlterm: Native Wayland Terminal Emulator

David Herrmann dh.herrmann at googlemail.com
Thu Sep 27 23:18:17 PDT 2012


Hi Bill

On Thu, Sep 27, 2012 at 10:58 PM, Bill Spitzak <spitzak at gmail.com> wrote:
> This sounds like a really good idea!
>
> What are you doing about UTF-8? Any modern terminal better handle it and at
> least display glyphs for every valid UTF-8 encoded character. Also important
> is that it must not barf and must display a glyph for every byte if the
> sequence coming in is not valid UTF-8.

You can have a look at tsm_utf8_mach_*() in:
https://github.com/dvdhrm/kmscon/blob/master/src/tsm_unicode.c

TSM does already handle UTF-8 exclusively. And it shows one glyph for
each correctly or wrongly parsed UTF-8 character (which is at most
4-bytes). If that's not suitable for your use-cases, feel free to file
a bug-report at github.com or send patches.

Regards
David


More information about the wayland-devel mailing list