Skip Menu |

This queue is for tickets about the Text-Capitalize CPAN distribution.

Report information
The Basics
Id: 79062
Status: open
Priority: 0/
Queue: Text-Capitalize

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

Bug Information
Severity: Important
Broken in: 1.3
Fixed in: (no value)



Subject: Non-ASCII character seen before =encoding
http://www.cpantesters.org/cpan/report/126aa896-da09-11e1-aa0e-dc5485400d13 Pod::Simple >= 3.22 and Test::Pod are required to reproduce. HTH&&Regards,
In case you are interested in the discussion I had with pod people: https://rt.cpan.org/Ticket/Display.html?id=79180 The offending bytes are in Text::Capitalize line 28 and come from an UTF-8 ΓΌ. So I went forward with the following patch: --- lib/Text/Capitalize.pm~ 2012-09-22 19:45:43.788330869 +0200 +++ lib/Text/Capitalize.pm 2012-09-22 19:45:59.544748630 +0200 @@ -1,5 +1,7 @@ package Text::Capitalize; +=encoding utf-8 + =head1 NAME Text::Capitalize - capitalize strings ("to WORK AS titles" becomes "To Work as Titles") and it works. Would be really nice to have. Feel free to toss the whole pod.t, maybe it is not doing a service at the moment. Best,
This module is now uninstallable under 5.18 without skipping tests. Please remove the pod tests from running under normal installs (fixing the errors is also good, but pod tests CANNOT run for other users).
Please don't panic. It's not DOOM to blame, it's a couple of unfortunate decisions and everybody involved has its share of the blame cake. In general I recommend using distroprefs as a stop gap solution because they (1) solve the problem in a replayable way, and (2) they show the maintainer the least intrusive way of fixing. If you're not familiar with distroprefs: it's supported via CPAN.pm shell only ATM. It requires that you enable it. Try 'o conf init /prefs/' to get the dialogue that enables it. Additionally it requires that you copy the distroprefs file that patches the distro whenever you install it. Something like cd <your-prefs-dir> wget http://cpan.cpantesters.org/authors/id/A/AN/ANDK/patches/Text-Capitalize-1.3-RT79062.patch From then you can call "install Text::Capitalize" with any perl as often you like. If 1.3 is still current, it will be patched. If 1.4 is current it will be testes unaltered. Sorry that it's a bit cumbersome but it is a way to make your dayjob easier and help to safe the world at the same time. No question, I'd still recommend to make the pod test an author test, but the more important decision is to get rid of the noise coming from Pod::Simple;) Good night,
This is unfortunately still broken. Is there any chance of this patch being applied a new version being released?