Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Pod-Simple-Wiki CPAN distribution.

Report information
The Basics
Id: 37480
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: Pod-Simple-Wiki

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.09
Fixed in: (no value)



Subject: Wide character warning
If converting Pods containing wide characters then I got warnings like "Wide character in print at /usr/local/share/perl/5.8.8/Pod/Simple/Wiki.pm line 125, <IN> line 460." Seen while executing the command pod2wiki --style twiki Kwalify.pm Kwalify.html (Kwalify.pm is available from CPAN if you like to test) I guess that somewhere a binmode $fh, ":utf8" or similar is missing. It's just about the warning; the generated twiki document looks correct and the accent over c (which is causing the warning) shows up right in twiki, too. Regards, Slaven
On Mon Jul 07 06:36:31 2008, SREZIC wrote: Show quoted text
> If converting Pods containing wide characters then I got warnings like > > "Wide character in print at > /usr/local/share/perl/5.8.8/Pod/Simple/Wiki.pm line 125, <IN> line 460." >
Hi Slaven, Thanks for that. I'll look into it for the next release. John. --
Workaround: specify the output encoding on the Perl command-line: perl -CO $(which pod2wiki) --style twiki Kwalify.pm Kwalify.html -- Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/
Sorry, this workaround is only for the case where STDOUT is the output. And this is not the case in this ticket.
On Mon Jul 07 06:36:31 2008, SREZIC wrote: Show quoted text
> If converting Pods containing wide characters then I got warnings like > > "Wide character in print at > /usr/local/share/perl/5.8.8/Pod/Simple/Wiki.pm line 125, <IN> line 460." > > Seen while executing the command > > pod2wiki --style twiki Kwalify.pm Kwalify.html
Hi, Thanks for that. I've put a commandline option into version 0.14 to allow the output encoding to be specified. Like this: pod2wiki --style twiki --encoding=":utf8" Kwalify.pm > kwalify.wiki John. --