Skip Menu | You are currently an anonymous guest. | Login | Return to Main | About rt.cpan.org
 

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.

X Report information
Id: 20948
Status: resolved
Worked: 1 hour (60 min)
Left: 0 min
Priority: 0/0
Queue: Spreadsheet-WriteExcel

Owner: JMCNAMARA <jmcnamara [...] cpan.org>
Requestors: KWILLIAMS <kwilliams [...] cpan.org>
Cc:
AdminCc:

Severity: (no value)
Broken in: (no value)
Fixed in: 2.18



X History Display mode: Brief headersFull headers
#   Fri Aug 11 11:42:01 2006 KWILLIAMS - Ticket created  
Subject: Man page broken
[text/plain 414b]
Hi,

There's a line in WriteExcel.pm that looks like this:

$worksheet->write_comment('C4', 'Comment ca va?');

except that the 'c' is a fancy c with a little thingy hanging down from
it, and this generates the error:

iconv: illegal input sequence at position 69563

and cuts off the man page at that point.

I'm on Red Hat Enterprise Linux 3, and my iconv is version 2.3.3. Perl
is version 5.8.1.

-Ken
#   Fri Aug 11 11:49:15 2006 KWILLIAMS - Correspondence added  
[text/plain 242b]
I just went in and removed that line and it looks like there are several
other non-ascii characters in there that choke me up the same way. For
now I've removed/changed all of them, not sure what you'll want to do
for future releases.

-Ken
#   Fri Aug 11 11:50:09 2006 KWILLIAMS - Status changed from 'new' to 'open'  
#   Mon Aug 14 07:32:44 2006 JMCNAMARA - Taken  
#   Mon Aug 14 07:52:19 2006 JMCNAMARA - Correspondence added  
[text/plain 809b]
Hi Ken,

What is you LANG setting?

With LANG=en_US I get a man warning but the entire manpage still
displays (apart from the C cedilla).

If I set it to LANG=en_US.UTF-8 then I don't get any warnings and the
symbols display.

I am using:

perl 5.8.7
iconv 2.3.6
man 2.4.3
linux 2.6.15

I could leave out the C cedilla (it is just there for a bad pun) but I'd
prefer to leave in the other symbols such as pound and yen since they
illustrate an important point.

So I'm inclined to leave the docs as they are. Perhaps you could try a
later version of iconv and see if that makes a difference. Of just set
you LANG variable on a temporary basis (although beware of running perl
with a UTF-8 LANG on RH. There used to be a problem with that, I don't
know if there still is).

John.
--




#   Mon Aug 14 16:54:18 2006 KWILLIAMS - Correspondence added  
From: KWILLIAMS[...]cpan.org
[text/plain 466b]
Hi John,

My LANG is en_US.UTF-8 like yours, but my LC_ALL is set to C. If I unset the LC_ALL variable, I
can display the full man page but there's some wonky formatting like this:

# Write a number and a formula using A1 notation
$worksheet->write(âA3â, 1.2345);
$worksheet->write(âA4â, â=SIN(PI()/4)â);

(what should be quotes are looking like a's with little hats. Is it trying to use curly quotes or
something?)

-Ken

#   Sun Jan 21 17:14:06 2007 JMCNAMARA - Correspondence added 60 min  
[text/plain 91b]
As of version 2.18 I've removed all high bit characters from the Pod to
avoid this problem.
#   Sun Jan 21 17:14:07 2007 JMCNAMARA - Status changed from 'open' to 'resolved'  
#   Sun Jan 21 17:14:34 2007 JMCNAMARA - Fixed in 2.18 added