At Thu, 22 Jun 2000 17:01:01 +0100, Edmund GRIMLEY EVANS <[EMAIL PROTECTED]> wrote: > > Fumitoshi UKAI <[EMAIL PROTECTED]>: > > > I just read groff-1.16 source code, it has no code to handle utf-8 input. > > It shouldn't. There is code in glibc for handling UTF-8, and other > multibyte encodings. Programs should use wchar_t and mbtowc(), etc.
Then we need more and more work to support UTF-8 in groff-1.16. I can say that current groff-1.16 implementation is not UTF-8 ready. For example, see src/roff/troff/{token.h,input.cc}. It uses `unsigned char c;' to hold character. (and 'wchar wc;' in #ifdef NIPPON) Regards, Fumitoshi UKAI