Debian / debiman

debiman generates a static manpage HTML repository out of a Debian archive
Apache License 2.0
188 stars 46 forks source link

Are versions with different encodings served? #92

Closed lahwaacz closed 7 years ago

lahwaacz commented 7 years ago

This is just a question.

The interesting test cases section in the README says:

qelectrotech(1) has a french translation in 3 different encodings (none specified, ISO8859-1, UTF-8).

Is it just a test case for the import (in which case manpages.debian.org serves only one version per language) or should the different encodings be served as well? The whole section seems to describe test cases for the website and the URL scheme, but there are no links to the version with different encoding and the URL scheme does not seem to allow specifying an encoding.

In case only one version per language is served, which encoding is used as the source for the conversion to HTML? Do you actually check that all versions are in fact the same page encoded differently or is it just an assumption? After all the versions might go out-of-sync due to poor maintenance...

stapelberg commented 7 years ago

All manpages are converted to UTF-8 when ingesting. Manpages generally are present in precisely one encoding, so we don’t handle the case where multiple encodings are present.

lahwaacz commented 7 years ago

Thanks.