On Sat, Jul 15, 2006 at 14:28:12 +0200, Nicolas François wrote:

> On Sat, Jul 15, 2006 at 11:26:03AM +0200, Julien Cristau wrote:
> > I don't understand why we don't get the same behaviour.
> > When I try to view a manpage which is in utf-8, I always see garbage,
> > and have to recode it to latin1, that's why I added this.
> 
> What do you mean by "a manpage which is in utf-8"?
> If the man page is encoded in utf-8, then that may be the problem.
> 
As I understand it, po4a-translate outputs the translated manpage in the
charset of the po file (which, in my case, is utf-8).  Then,
po4aman-display-po uses iconv to recode that to the current locale
charset (which, in my case, is also utf-8) and then feeds that to man.
In my experience, man doesn't like that, because it seems to only groks
latin1 encoding.  My patch tried to recode the output of po4a-translate
from the po encoding to latin1.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature

Reply via email to