Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 48827
Status: resolved
Priority: 0/
Queue: Module-Build

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

Bug Information
Severity: Normal
Broken in: 0.33
Fixed in: 0.34_06



Subject: .ppd should be encoded in utf-8
"Build ppd" create the PPD file using the local encoding instead of forcing UTF-8 (this is XML). If the author name contains non-ascii characters (such as myself, Olivie Mengué), the generated PPD can not be parsed by XML parsers and so by ActiveState::PPM::ParsePPD. Fix: insert the following line in PPMMAker.pm line 116: $fh->binmode(':utf8');
Thanks, patched in trunk (with "if $fh->can('binmode')" in case of older perls).