ChakaMonk has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to install Date::Calc on a freshly installed Red hat 8 system. I get many erros as shown below
Malformed UTF-8 character (unexpected non-continuation byte 0x61, immediately after start byte 0xed) at /root/.cpan/build/Date-Calc-5.3/blib/lib/Date/Calendar/Profiles.pm line 2757. Malformed UTF-8 character (unexpected non-continuation byte 0x61, immediately after start byte 0xed) at /root/.cpan/build/Date-Calc-5.3/blib/lib/Date/Calendar/Profiles.pm line 2758. Malformed UTF-8 character (unexpected non-continuation byte 0x6e, immediately after start byte 0xf3) at /root/.cpan/build/Date-Calc-5.3/blib/lib/Date/Calendar/Profiles.pm line 2759.
Does it have something to do with LANG=en_US.UTF-8 in my environment? Any ideas? Thanks!

Replies are listed 'Best First'.
Re: Perl 5.8 Date::Calc install problems
by erasei (Pilgrim) on Oct 24, 2002 at 16:41 UTC
    Make sure you are calling your 5.8 install of Perl, if you have more than one version on your system. UTF-8 in pre-5.8 versions of Perl have known problems as told by Larry Wall concering his "favorite bug to fix in 5.8". This same style of error is mentioned in the SpamAssassin FAQ here.

    Whether or not that is causing your problem here, I don't know. But that might at least give you some ideas on how to further track down your problem.