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


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

Submitted by:  None
Submitted on:  Mon 17 Sep 2012 04:40:04 PM UTC  
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  Werner Baumann <wbaumann>
Originator Email:  -email is unavailable- Open/Closed:  Closed
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 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 Baumann <wbaumann>
Project AdministratorIn charge of this item.
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.

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 Baumann <wbaumann>
Project AdministratorIn charge of this item.
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:

2. Verify that locale files are available.
Output of locale -a:

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.



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

Attach Files:

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 wbaumann (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    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.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Sun 20 Apr 2014 07:24:23 PM UTC wbaumann StatusNone => Done
        Open/ClosedOpen => Closed
    Mon 17 Sep 2012 06:43:31 PM UTC wbaumann Assigned toNone => wbaumann

    Back to the top

    Powered by Savane 3.3