[Po4a-devel] Translating tudu.1 manpage

"David Prévot" david at tilapin.org
Thu Dec 25 14:53:30 UTC 2014


Hi,

> I downloaded tudu.1 manpage from
> https://gitorious.org/tudu/tudu/raw/166d870180f75121398ce6265fb692ba7f965e97:data/tudu.1

> po4a: Couldn't determine the input document's charset. Please specify
> it on the command line. (non-ASCII char at tudu.1:2)
>
> Which character set should I determine in this command?

According to file, it’s UTF-8:

$ file tudu.1
tudu.1: troff or preprocessor input, UTF-8 Unicode text

> I tried utf-8 but with no success:
> po4a-gettextize -f man -L utf-8 -m tudu.1 -p tudu.1.pot

-L is the “Charset of the file containing the localized document.”, you
actually want:

       -M, --master-charset
           Charset of the file containing the document to translate.

Regards

David




More information about the Po4a-devel mailing list