On closer inspection, http://www.thrysoee.dk/editline/ doesn't
actually have UTF8 support, it has UTF32 support.  And it only
supports this by implementing a brand-new wide-char API that resembles
(more or less) the original <histedit.h> interfaces, but with UTF32
(wide-char) arguments.  Thus, by using wcstombs() and mbstowcs(), one
can get UTF8 support, but it does require writing new code.  Arghhh.

Most annoying is that the easy-to-user API of readline() and
add_history() is not actually UTF8-capable; but one can hack around
this by writing wrapper routines that call the UTF32 interfaces.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to