maindavfs2 - Support: sr #108135, davfs2 >1.4.5 man pages not...

 
 

sr #108135: davfs2 >1.4.5 man pages not Unicode-friendly

Submitter:  None
Submitted:  Mon 17 Sep 2012 04:40:04 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  _71007
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 18 Sep 2012 07:13:14 PM UTC, comment #3: 

I remember that until about 5 years ago the man-program could not handle man pages in utf-8 but expected ISO-character-sets.

Maybe the Gentoo version of man still has this problem. You may look into other german man pages, that display correctly, if there is anything different with them. Especially wether they are utf-8 or ISO encoded.

Your tests with konqueror indicate that your man program expects ISO-8859-1 encoding, like konqueror when you set encoding to ISO-8859-1.

If you want to change the encoding of the german davfs2 man pages you need the program po4a that is used to create the translated man pages:

- cd into the man directory (not man/de)
- edit file po4a.conf and change the desired encoding for the german man pages
- run 'po4a -v po4a.conf'
- now build and install the package as usual

In any case you may contact some Gentoo developers. They will now how german man pages have to bee encoded or wether there is something special about them. They also will be able to change Gentoo ebuild for davfs2 if necessary.

But if the problem is as I suspect they might also have a look at Debian to see how Debian solved the problem. (Debian displays may german man pages correctly)

Werner

- <_71007>
Tue 18 Sep 2012 09:36:04 AM UTC, comment #2: 

The davfs2 package is from a Gentoo ebuild.

I do realize that the man pages are UTF-8 encoded -- the problem is that, for some reason, this information is not being communicated to the console man reader properly, so that it displays the pages in ISO 8859-1, which results in the strange characters.

Remember that they display normally in konqueror, where the encoding is set to "standard" -- on this system, at least, that is UTF-8. If I set the encoding to ISO 8859-1, then the result is an output that looks just like what I get on the console, with the strange characters.

Gentoo package maintainers sent me here, but if we can determine that the problem is with the environment or the package build itself, I would be happy to go back to them with this information.

Anonymous
Mon 17 Sep 2012 06:43:31 PM UTC, comment #1: 

That's strange.
The german davfs2 man pages are in utf-8 for many years now and I never heard of that. My own system has an utf-8 locale and shows tha man pages correctly.

Where did you get your package from and how did you build it?

I just looked at files man/de/davfs2.conf.5 and man/de/mount.davfs.8 in source package 1.4.7 with a hex-editor. They are definitely in utf-8 (german umlauts are two bytes). Make will substitute some configure time variables in these files (using sed) and then process them with gzip. These files will be installed.

Werner

- <_71007>
Mon 17 Sep 2012 04:40:04 PM UTC, original submission:  

On a unicode Gentoo system with German localization, the davfs2 man pages display with ISO 8859-1 encoding, so all the umlauts appear as combinations including the à character.

Other man pages display as expected.

Reproducible: Always

Steps to Reproduce:
1. Set system locale to de_DE.UTF-8.
Output of locale:
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

2. Verify that locale files are available.
Output of locale -a:
C
de_DE.utf8
en_CA.utf8
en_US.utf8
fr_CA.utf8
nb_NO.utf8
POSIX

3. Log in to a console. Invoke man mount.davfs. Observe the screwy umlauts.
3. Open the man page in konqueror (man://mount.davfs/usr/share/man/de/man8/mount.davfs.8.bz2). Observe the correctly displayed umlauts (assuming Unicode encoding is the default).
5. Change the encoding to ISO 8859-1, observe the screwy umlauts again.

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

 

Carbon-Copy List
  • -email is unavailable- added by _71007 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-20 _71007 StatusNone Done
        Open/ClosedOpen Closed
    2012-09-17 _71007 Assigned toNone _71007

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code