[Mimedefang] Re: Perl stderr: Malformed UTF-8 character.
Troy Carpenter
troy at carpenter.cx
Wed Oct 30 13:17:01 EST 2002
Did you look in the file /etc/sysconfig/i18n ?
Look in there for the LANG= line. Does it have ".UTF-8" appended to it?
Look at the SUPPORTED= line. Does it have your language listed WITHOUT
the ".UTF-8"?
Here's what my i18n file looks like:
LANG="en_US"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
If you don't have an i18n file, then grep for UTF-8 in the sysconfig
directory.
I had the same error messages you did, and from just about every perl
script that used regular expressions. When I changed the LANG= line to
drop the .UTF-8 extension and rebooted, all the problems went away. I
don't think changing it and exporting was sufficient.
Troy Carpenter
troy at carpenter.cx
-----Original Message-----
Date: Wed, 30 Oct 2002 13:50:38 +0200
From: Sergey Zhuravlev <srg at softline.kiev.ua>
Organization: Softline Company
To: MIMEDefang at lists.roaringpenguin.com
Subject: [Mimedefang] Perl stderr: Malformed UTF-8 character.
Reply-To: mimedefang at lists.roaringpenguin.com
Hello,
I've RedHat 7.x, Sendmail 8.12.6, Perl 5.8, MD 2.24, SA 2.43 I'd a
problem, there were many messages such as " ...
mimedefang[10710]: Perl stderr: Malformed UTF-8 character (unexpected
non-continuation byte 0xce, immediately after
start byte 0xc1) in pattern match (m//) at (eval 44) line 488. ...
mimedefang[10710]: Perl stderr: Malformed UTF-8 character (unexpected
non-continuation byte 0xcc, immediately after
start byte 0xd7) in pattern match (m//) at (eval 44) line 628. ...
mimedefang[10710]: Perl stderr: Malformed UTF-8 character (unexpected
non-continuation byte 0xcf, immediately after
start byte 0xc4) in pattern match (m//) at (eval 44) line 618. ...
".
The decision "LANG=C" has not helped. I've solved a problem having
replaced functions
get_decoded_stripped_body_text_array in
.../Mail/SpamAssassin/PerMsgStatus.pm from version SA 2.31.
With regards, Sergey.
More information about the MIMEDefang
mailing list