Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 79232
Status: rejected
Priority: 0/
Queue: Pod-Simple

People
Owner: Nobody in particular
Requestors: slaven [...] rezic.de
Cc:
AdminCc:

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



Subject: Pod::Simple and latin-1 encoding
Date: Sun, 26 Aug 2012 20:55:46 +0200
To: bug-pod-simple [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
Hello, Pod::Simple currently (e.g. with version 3.23) complains if a Pod document has latin-1 characters in it but no =encoding command specified. I think this is incorrect, both perlpod.pod and perlpodspec.pod specify that a document without =encoding command is in latin-1: perlpod.pod (as of commit 684c7e375f581ccd114b4c6b4e8ea730402b50f3 in perl): =encoding encoding ... Most users won't need this; but if your encoding isn't US-ASCII or Latin-1 ... perlpodspec.pod (as of commit c85e9b4c9684bc896847f5a80e9e91b478c2fc59 in perl): ... Otherwise, the character encoding should be understood as being UTF-8 if the first highbit byte sequence in the file seems valid as a UTF-8 sequence, or otherwise as Latin-1. (Unfortunately perlpodspec.pod isn't quite clear about this when explaining encoding; the quoted paragraph is from the "Notes on Implementing Pod Processors" section. Regards, Slaven -- Slaven Rezic - slaven <at> rezic <dot> de
Subject: Re: [rt.cpan.org #79232] Pod::Simple and latin-1 encoding
Date: Mon, 27 Aug 2012 11:49:02 -0700
To: bug-Pod-Simple [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
Thanks. I am not bothered by the warning myself, but I started a thread on pod-people to get others interested in Pod issues to chime in: http://www.nntp.perl.org/group/perl.pod-people/2012/08/msg1853.html Will update here with the outcome of that discussion. David
As another reference point, https://rt.cpan.org/Public/Bug/Display.html?id=79180 has been rejected as a duplicate.
Thanks for the reminder. I have received no more complaints about the warning. And I think its useful. Yes, the spec says that if there is in `=encoding` tag that it should be assume to be Latin-1. But that doesn't necessarily mean that it *is* Latin-1. Therefore, I think it's important to warn the user about it. Any user who doesn't want to know can set `no_whining` if they don't want warnings.