Re: [Po4a-devel] Bug#480997: pod2man turns UTF8 into "X"s
by Robert Luberda
On Mon, 12 May 2008, Russ Allbery wrote:
Hi,
> > Package: perl-doc
> > Version: 5.10.0-10
> >
> > UTF8 gets turned into "X" by pod2man, besides other disturbing issues:
>
> pod2man doesn't support non-ISO characters because doing so completely
> breaks (and by breaks, I mean up to and including segfaults) nroff on some
> platforms and the intention is that pod2man output be portable nroff.
Previous version (5.8.8) does support it. Anyway, this bug breaks
po4a package. After rebuilding po4a with new pod2man almast all its
translated man pages are unreadable...
Regards,
robert
16 years, 5 months
Support for the fortunes format in po4a.
by Nicolas François
Hi,
You can find attached the new version of the Text.pm module for po4a, with
support for the fortunes format.
You can use it by replacing your
/usr/share/perl5/Locale/Po4a/Text.pm
Or just put the file in <one directory>/Locale/Po4a/Text.pm
and run po4a by preceding the command with PERLLIB=<one directory>/
You will have to add "-o fortunes" to the po4a commands to specify that
you want to use the fortunes format.
The support is still limited, but should be sufficient for the Debian
hints fortunes. I would like to add support comments and for references,
like in:
Packages should build-depend on what they should build-depend.
-- Santiago Vila on debian-devel
I will wait at least for po4a to enter testing (in 1 or 2 days), and I
will release a new version.
It would be useful if you could test it to check if it looks OK.
Note: if you add a newline before the URL of hint #9 in the German
hints-de, you will be able to reuse the German translation using:
PERLLIB=<one directory>/ po4a-gettextize -f text -o fortunes \
-m hints -l hints-de -p hints.de.po -L UTF-8
Best Regards,
--
Nekral
16 years, 6 months