POD encoding in Coro-Multicore
Marc Lehmann
schmorp at schmorp.de
Tue Oct 6 00:12:47 CEST 2015
On Mon, Oct 05, 2015 at 05:23:40PM +0200, Petr Pisar <ppisar at redhat.com> wrote:
> attached patch defines Coro::Multicore POD encoding to UTF-8 ad the text is in
> UTF-8 while default POD encoding is ISO-8859-1.
Hi, and thanks for your interest!
UTF-8 is one of the default encodings, as is latin1 (see perlpodspec), so
the document should be conforming to the spec.
In addition, =encoding is not a good idea for things that should be
portable among many perl versions, as it is still not understood
universally.
But things are way more complicated than that. I once summarised the
situation in my blog:
http://blog.schmorp.de/2015-07-29-pod-encoding-woes.html
In the long run, it's probably better to fix whatever pod formatter didn't
get it right, but if that can't be had because of the forces of evil(tm),
=encoding will have to be added. I am just not at that point yet, because
too much still breaks for me, while more and more formatters get their
UTF-8 right :)
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the anyevent
mailing list