X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=jLUPqCIwPLDvDaFfx4MM4oJO2nAWvlxLXyvK1hozPFK XArlHXGRGGKLm4zpFMK1pFZZmhLIvxEsZvwjq+YlX8iiIUhLqdSpo743ASzEX2vY O4PFBofhCGHJZQHaAFUeASJaT37ffenl72KP0kt/B4ZAsAT1Ig/cUyuN03Nr126k = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=832wQ1xcFEa4snAS0oSX3JY4UzA=; b=GljmuvSgZpTFsY6mj HXKYnhPkL3wrCXtGgdaNb8TeTt3Ns/7XmiWmgtd7FL6OnmTGz9LYM+TpNlZUa1RE i0pmT+lg/vutTOAjY9w8B+4Iu5WLbHaFXWDwFY+2lMt/tVoYXGjbi10smOMJl8xV eaZQs22aT0J87NXVK0gH8TVQjY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: lb3-smtp-cloud6.xs4all.net Message-ID: <5505C58E.9060802@xs4all.nl> Date: Sun, 15 Mar 2015 18:46:54 +0100 From: Erwin Waterlander User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated: perl-5.14.4-3 References: <54F8D076 DOT 7010805 AT xs4all DOT nl> <87pp8mktbf DOT fsf AT Rainer DOT invalid> <55052C32 DOT 3060405 AT xs4all DOT nl> <87fv967blg DOT fsf AT Rainer DOT invalid> In-Reply-To: <87fv967blg.fsf@Rainer.invalid> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Op 15-03-15 om 12:18 schreef Achim Gratz: > Erwin Waterlander writes: >> It looks like this http://waterlan.home.xs4all.nl/tmp/dos2unix.htm >> while it should look like >> http://waterlan.home.xs4all.nl/dos2unix/uk/man1/dos2unix.htm >> >> It could be a pod2html bug. I know that between perl 5.14.2 and 5.18 >> the pod2html output changed from plain UTF-8 to ASCII with ampersand >> codes. I have asked the maintainer about it, but I got no answer. > If you don't define PERL_UNICODE (it must not be present at all in the > environment) then it should work. The version of pod2html that comes > with 5.14 doesn't understand coding directives and has bugs with IO > layers, so if you make Perl unicode aware it'll encode the output twice. > > Now, it seems that using Pod::Html and pod2html from 5.18 (which has the > GSoC patches from Marc Green) might work, but since this is not > available as a CPAN distribution and I'm not sure who else might use > Pod::Html in creative ways, I'd rather not go there. Hi Achim, You are right. When I remove PERL_UNICODE a correct the html is correct. Correct title and correct content, all nicely in UTF-8. I added PERL_UNICODE=SDA, because of perl 5.18 (on Linux). Perl 5.18 pod2html produces a wrong html title (double encoded?) when I don't set PERL_UNICODE. I find it weird that I have to set PERL_UNICODE for perl 5.18 while I'm in an UTF-8 environment. I also don't like all the ampersand codes that perl 5.18 produces instead of UTF-8. The output of perl 5.14 pod2html is much better. Thanks for your help. best regards, Erwin -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple