Re: [dev][st] multibyte patch

From: Aurélien Aptel <>
Date: Mon, 15 Nov 2010 23:58:42 +0100

On Sat, Nov 13, 2010 at 10:53 PM, Damian Okrasa <> wrote:
> I removed the wchar_t completely, added some UTF-8 parsing functions.
> No support for combining, bidi, doublecolumn etc. Markus Kuhn's UTF-8
> stress test file is not working 100% correctly (the decoder works
> however, even when reading bytes one by one).

I've renamed Bx to B_x to compile.
Can you tell more about your setup? Because *most* of Makus' file[1]
is unreadable here (see screenshot attached). Some strings even turn
to some kind of mangled ascii once displayed (eg.
- I'm using the default font (updated to iso10646) :
- I've set LC_ALL to en.US.UTF-8 directly in main()

Also, it broke some things like the "magic margin" (aka xterm wrap
glitch) resulting in many broken curses apps.
Wouldn't it be simpler to make ttyread() directly call tputc() instead
of using tputs()?

Anyway, it's a good start!


Received on Mon Nov 15 2010 - 23:58:42 CET

This archive was generated by hypermail 2.2.0 : Tue Nov 16 2010 - 00:00:05 CET