[Pinfo-devel] Re: Pinfo-devel Digest, Vol 3, Issue 42

Nathanael Nerode neroden at fastmail.fm
Tue Sep 27 22:36:20 UTC 2005


> Log:
> Fixed displaying of multibyte (like UTF8) and wide (like kanji) characters.
> This basically consists of 3 parts:
>  - detect (n)curses's wchar capabilities and only use them if supported
>    (and rewrite the entire curses.m4 while we're at it)
>  - detect the flags we need for the C library to make wcwidth() available
>  - replace all the position-dependent stuff (link positions, mostly) to
>    use the width of the string rather than the length of the string
>  - remove some obsolete string functions (like strsep()) that aren't supported
>    with _XOPEN_SOURCE=600 (which we need for wcwidth())

In order to do a similar thing for the cxx branch, different things are
necessary (I was thinking of switching to glib++'s ustring).  But the
ncurses wchar capability detection stuff is necessary.  So could you
port that part to the cxx branch please? :-)



More information about the Pinfo-devel mailing list