perl-unicode

Unicode problems with mb2md-3.10 on Red Hat 8.0

2003-03-09 06:30:05
Hello,

I have just downloaded version 3.10 of mb2md
(URL:http://batleth.sapienti-sat.org/projects/mb2md/) on my system:

Red Hat 8.0
perl, v5.8.0 built for i386-linux-thread-multi

The script loads Unix mail folders in mbox format, and converts them
to Maildir. Some of my folders where never opened in years (= never
touched by any UTF8 capable SW), older are daily opened under RH 8.0.

1) (non UNICODE question, I think) to make the script start with the Perl 
mentioned above, I had to
replace "concat" with "open" in line 1251: what is concat? I *never*
found it in my Perl manuals. Is "open" equivalent?

2) (Unicode question) The script gives tons of warning like these:

Malformed UTF-8 character (unexpected end of string) at
./mb2md-3.10.pl line 1343, <MBOX> line 3009.

Malformed UTF-8 character (unexpected non-continuation byte 0x20,
immediately after start byte 0xc8) in pattern match (m//) at
./mb2md-3.10.pl line 999, <MBOX> line 
9706.

What should I do? Is it bad? How can I check it, and remove it?
I have already informed the maintainer, but have a feeling that he
doesn't use my setup, or know UNICODE-Perl issues in detail, and won't be able
to test any patch. Any ideas?


Thanks a lot in advance,

                Marco Fioretti
-- 
Marco Fioretti                 m.fioretti, at the server inwind.it
Red Hat for low memory         http://www.rule-project.org/en/

Live for the present, dream of the the future, learn from the past.

----- End forwarded message -----

-- 
Marco Fioretti                 m.fioretti, at the server inwind.it
Red Hat for low memory         http://www.rule-project.org/en/

Don't you wish you had more energy... or less ambition?

<Prev in Thread] Current Thread [Next in Thread>