[Clfs-commits] [CLFS Trac] #182: UTF-8

CLFS Trac trac at cross-lfs.org
Sun Apr 12 14:11:15 PDT 2009


#182: UTF-8
--------------------+-------------------------------------------------------
  Reporter:  ken    |       Owner:  clfs-commits at lists.cross-lfs.org.
      Type:  task   |      Status:  new                              
  Priority:  minor  |   Milestone:  CLFS Standard 1.2.0              
 Component:  BOOK   |     Version:  CLFS Standard SVN                
Resolution:         |    Keywords:                                   
--------------------+-------------------------------------------------------
Comment (by ken):

 Partial update on this:

 (i) The book (man-1.6f) still mentions "-Tlatin1" but we set it to
 "-Tutf8" in the i18n patch.
 However, since the current rendering is so broken, I'm not willing to
 alter that.

 (ii.) If I change the NROFF entry in man.conf to "-c -Tutf8" then the
 ''latin1'' manpages (N.W. European pages from man-1.6f, also 'man top'
 render correctly.

 Note that for 'man top' without this change, section 3a has a lot of
 '<B4>'- with the change, they seem to be some sort of fancy quotes so the
 result might vary depending on your console font (I use sigma-
 consolefonts, of course!).

 I don't regard this as an adequate fix - the UTF-8 pages from shadow (that
 is, '''ALL''' the man pages from shadow, except English) are still
 trashed, as are all other non-latin1 pages (e.g the bulgarian and latin2
 pages from man-1.6f).  With the previous version of groff plus groff-utf8
 these can all be rendered (if iconv'd to UTF-8) so for me this is still a
 regression.

 Also, on a UTF-8 console the messages (e.g. "No entry for foo in section N
 of the manual") need to be converted to UTF-8, ''except'' for the German
 messages which are already in UTF-8 (I found that in what will be fc11 -
 hadn't noticed it earlier, but I guess it explains why on an older system
 with all-UTF-8 and man-1.6f I get
 {{{
 $LC_ALL=de_DE.UTF-8 man foo
 Keine Handbuchseite für foo
 }}}
  - that is, f, A-tilde, half, r instead of f, u-umlaut (or diaeresis), r

 So far, I see no way of fixing the non-latin1 pages.

 Trying man-db is next on my To Do list.  The current version supposedly
 makes it all just work (and gets rid of recoding messages from the
 obsolete catgets form).  I'll be sorry to drop man-1.6f if man-db works,
 man has been a good friend to me, and last time I looked man-db didn't
 have the more exotic pages (e.g. no bulgarian)  but man is no longer
 maintained.  Of course, testing man-db may show other issues.

 Non-alphabetic scripts (chinese, japanese, korean) are another matter -
 they need xorg, on my cmost recent build I can still see no point in
 building xorg until I can fix the text console - I suspect that man-db
 will not support these at all.

 Meanwhile, I still regard UTF-8 in trunk as broken.

-- 
Ticket URL: <http://trac.cross-lfs.org/ticket/182#comment:33>
CLFS Trac <http://trac.cross-lfs.org>
The Cross Linux From Scratch Project.


More information about the Clfs-commits mailing list