[Po4a-devel] Translating tudu.1 manpage

Csányi Pál csanyipal at gmail.com
Thu Dec 25 15:01:27 UTC 2014


Hello David,

2014-12-25 15:53 GMT+01:00 "David Prévot" <david at tilapin.org>:

>> 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.

po4a-gettextize -f man -M utf-8 -m tudu.1 -p tudu.1.pot

success. Thanks!

-- 
Regards from Pal



More information about the Po4a-devel mailing list