[Po4a-devel]Broken encoding in http://po4a.alioth.debian.org/it/po4a.7.html

Jordi Vilalta jvprat@wanadoo.es
Fri, 13 Aug 2004 19:16:19 +0200 (CEST)


On Fri, 13 Aug 2004, Martin Quinson wrote:

> On Fri, Aug 13, 2004 at 11:00:14AM +0200, Jordi Vilalta wrote:
>> On Fri, 13 Aug 2004, Jordi Vilalta wrote:
>>
>> http://search.cpan.org/dist/perl/pod/perlpodspec.pod
>> http://search.cpan.org/dist/perl/pod/perlpod.pod
>>
>> There seems to be a =encoding command. Maybe this should be added by the
>> Pod module, taking the result of TT::get_out_charset()
>>
>> I've tried adding it manually and this is the mpod2html response:
>>
>> *** ERROR: Unknown command 'encoding' at line 14 in file html/tmp/po4a.7.pod
>
> Yeah. We may have to trick here.
>
> The easiest solution is that you provide your patch about names to Marek,
> and report that the encoding needs love too. You may get him fix his
> package.

I'll do it now

>
> If it doesn't work, as you said, we can force the encoding to iso for now.
> That's crude but effective as long as it's possible.
>
> You may consider patching that part of the html generator, if it's not too
> long.

IIRC, Marek has addapted the Pod::Parser and some other modules, so maybe 
this should also be reported to these ones.

> Or we may stop generating html. What a pitty.
>
>> And here's the pod2man one:
>>
>> po4a.7.pod:14: Unknown command paragraph "=encoding utf-8"
>>
>> Is this an unsupported feature or am I doing something wrong? :S
>
> This is a very new feature. Which version of perl do you use?

I'm using v5.8.4. It's documented, but the current parsers don't 
have it implemented it yet :(

Regards,

Jordi Vilalta