FmtDefault-Warning in Spreadsheet-ParseExcel

FmtDefault-Warning in Spreadsheet-ParseExcel

am 20.12.2005 16:50:57 von Pit

Hi all,

if using the module Spreadsheet-ParseExcel I always get the following
message:

Character in 'C' format wrapped in pack at
C:/Perl/site/lib/Spreadsheet/ParseExcel/FmtDefault.pm line 68.

the programm works fine, but why appears this message ??

Thanks in advance
Pit

Re: FmtDefault-Warning in Spreadsheet-ParseExcel

am 20.12.2005 18:56:06 von Jim Gibson

In article
,
Pit wrote:

> Hi all,
>
> if using the module Spreadsheet-ParseExcel I always get the following
> message:
>
> Character in 'C' format wrapped in pack at
> C:/Perl/site/lib/Spreadsheet/ParseExcel/FmtDefault.pm line 68.
>
> the programm works fine, but why appears this message ??

From perldiag:

Character in "C" format wrapped in pack
(W pack) You said

pack("C", $x)

where $x is either less than 0 or more than 255; the "C" format is
only for encoding native operating system characters (ASCII,
EBCDIC, and so on) and not for Unicode characters, so Perl behaved
as if you meant

pack("C", $x & 255)

If you actually want to pack Unicode codepoints, use the "U" format
instead.

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com