helpCompact Disc Input and Control Library - Support: sr #110189, doc/ja/cd-paranoia.1 is not...

 
 

sr #110189: doc/ja/cd-paranoia.1 is not rendering correctly

Submitted by:  None
Submitted on:  Tue 04 Feb 2020 12:42:25 AM UTC  
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 04 Feb 2020 12:42:25 AM UTC, original submission:  

Issue: doc/ja/cd-paranoia.1 is not rendering correctly.

libcdio-paranoia 10.2+2.0.1
OS: Linux
man-db: 2.9.0

man(1) encoding conversion is dependent upon the file's path.

The build system is installing it in the wrong subdirectory:
doc/ja/Makefile.am:18
mansubdir=/jp/man1

s/jp/ja/

So:
mansubdir=/ja/man1

Then man(1) will render it correctly.

The source tree correctly uses 'ja':
doc/ja/cd-paranoia.1

That location is part of the FHS[1] and man-db[2] specifications.

Other optional mitigation steps:
If this line is added to the top of the man page:

  '\" -*- coding: EUC-JP -*-

it will render properly regardless of path.

Or if the man page is converted to utf-8 it will
also render properly regardless of path:

cat cd-paranoia.1 | iconv -f eucjp -t utf8 > utf-cd-paranoia.1

It is recommended by man-db that man pages be utf-8 encoded.

[1] 4.11.6. /usr/share/man : Manual pages:
    https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.txt

[2] "NLS manual pages"
http://git.savannah.nongnu.org/cgit/man-db.git/tree/manual/files.me#n212

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

No changes have been made to this item

Back to the top


Powered by Savane 3.7