[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#724115: hunspell: FTBFS: POD error



On Tue, 12 Nov 2013 18:34:52 +0100, Agustin Martin wrote:

> > > here's a patch for this issue.
> Note that you are changing way more things that needed, including strings
> that are explicitly in a given charset, which is wrong. 

That was on purpose ...
 
> This can be fixed in a simpler way by declaring charset, see attached patch,

Right, for the bug itself "=encoding ISO8859-1" is enough.
My experience is that pod2man with latin1 is not the best option,
since it tends to transliterate stuff to ascii.

Let's try:

#v+
% cat latin1.pod 
=encoding ISO-8859-1

some nice Ümläüts
#v-

% pod2man latin1.pod | grep "some nice"
some nice U\*:mla\*:u\*:ts

Not bad; but when I run
    % pod2man latin1.pod | grep "some nice" | man -l -
I get
    some nice Umlauts
in the pager. Maybe because this is in an UTF-8 environment? Or
something with the pager?

Anyway, that's why I prefer to have POD in UTF-8 and call pod2man
with --utf8.

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Joan Baez: Fountain Of Sorrow

Attachment: signature.asc
Description: Digital signature


Reply to: