FS#13901 - [perl] pod2man turns UTF8 into "A~X"s
Attached to Project:
Arch Linux
Opened by SkippyleGrandGourou (SkippyleGrandGourou) - Saturday, 21 March 2009, 13:41 GMT
Last edited by Kevin Piche (kpiche) - Sunday, 16 May 2010, 03:16 GMT
Opened by SkippyleGrandGourou (SkippyleGrandGourou) - Saturday, 21 March 2009, 13:41 GMT
Last edited by Kevin Piche (kpiche) - Sunday, 16 May 2010, 03:16 GMT
|
Details
Description: utf8 characters of pod2man are turned into A~X,
making the output unreadable. More informations (including
patches) are available on debian's bugtracker, they had the
same issue and managed to solve it :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480997 Additional info: * package version(s): perl 5.10.0-4 Steps to reproduce: Copy the three following lines into a file : ----- 8< ----- =pod éèà ----- 8< ----- Convert it into a manpage and have a look at it : $ pod2man myfile > mymanpage; man ./mymanpage |
This task depends upon
Closed by Kevin Piche (kpiche)
Sunday, 16 May 2010, 03:16 GMT
Reason for closing: No response
Additional comments about closing: This seems to work in 5.12.0 with the proper options used.
Sunday, 16 May 2010, 03:16 GMT
Reason for closing: No response
Additional comments about closing: This seems to work in 5.12.0 with the proper options used.
=encoding utf8
It doesn't solve the problem though, since utf8 characters are replaced by ASCII equivalents :
é -> e
è -> e
à -> a
…
But it helps making a somewhat human readable output.
----8<----
=encoding utf8
=pod
中文 éèà
----8<----
pod2man --utf8 myfile >myman