Re: Man page can't display correct chinese locale
James Lin <[email protected]>
| Newsgroups | gmane.linux.suse.m17n |
|---|---|
| Message-ID | <C26A0753.1F2F%[email protected]> |
Thanks Mike, as the information does help a lot. Formatting is one of the big I18N issue because I have seem a lot in HP, Solaris and AIX; but not supporting it is another issue. All Unix support all encodings in Chinese and Japanese, even in groff. SUNWdoc version 11.10.0 supports both japanese and chinese encodings. I wonder if there is a way to transport the codes to Linux Thanks! On 5/11/07 11:16 AM, "Mike FABIAN" <[email protected]> wrote: > James Lin <[email protected]> : > >> I am having issues displaying Chinese manpage with encodings: UTF-8, GB2312 >> and GB18030 when using nroff -man >> >> When I vi it, I can see the encoding fine, but by using nroff -man, all I >> see is garble. > > groff-1.18.1.1 which we currently have in openSUSE 10.3 doesn't > support any multibyte encodings *except* the Japanese encoding > EUC-JP. It supports EUC-JP only because it contains a patch to support > Japanese which is also used in Debian. > > This patch is not in the upstream groff though and it doesn't make > much sense to include that patch upstream because this patch is > not generic and only helps for Japanese. > > The latest version of upstream groff already has some support for > UTF-8 though. But that alone doesn't imply that Japanese and Chinese > is supported, to support Japanese and Chinese properly, not only > support for a suitable encoding is required but also special > formatting support (Japanese and Chinese don't have spaces between > words, therefore you need different line breaking rules than in > English). As far as I know, the latest upstream groff doesn't support > proper formatting for Chinese and Japanese yet. > > I'll check out the latest groff again and see whether it makes > sense to update. -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]