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: 86515
Status: rejected
Priority: 0/
Queue: Pod-Simple

People
Owner: Nobody in particular
Requestors: kes-kes [...] yandex.ru
Cc:
AdminCc:

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



Subject: do right assumption about encoding
in Pod::Simple line 410 my $encoding = $line =~ /[\xC0-\xFD][\x80-\xBF]/ ? 'UTF-8' : $locale; fill $locale from $ENV{LANG} instead of default 'ISO'
Subject: Re: [rt.cpan.org #86515] do right assumption about encoding
Date: Tue, 2 Jul 2013 14:31:58 +0200
To: bug-Pod-Simple [...] rt.cpan.org
From: "David E. Wheeler" <david [...] justatheory.com>
On Jun 28, 2013, at 12:53 PM, Eugen Konkov via RT <bug-Pod-Simple@rt.cpan.org> wrote: Show quoted text
> in Pod::Simple > > line 410 > my $encoding = $line =~ /[\xC0-\xFD][\x80-\xBF]/ ? 'UTF-8' : $locale; > > fill $locale from $ENV{LANG} instead of default 'ISO'
$ENV{LANG} is unlikely to know the encoding in which the Pod file was authored. That code has undergone quite a bit of change recently, though. See https://github.com/theory/pod-simple/blob/master/lib/Pod/Simple/BlackBox.pm#L131 Best, David