On Sun, 6 Jul 2003, Mohamed Amin wrote:
When I tried to run it through the command line it gave me this error
# Perl fines2.pl
Malformed UTF-8 character (unexpected non-continuation byte 0x6e, immediatly after start byte 0xee ) at /usr/lib/perl5/vendor_perl/5.8.0/Date/Manip.pm line 5958.
and this error line is repeated
I don't know what's wrong
Let me guess, you're using a recent version Red Hat (8 or 9). We see this error a lot and it's known to cause problems now and then, but generally it hasn't been meaningful. Your LANG environment variable is set to make everything work as if it was in a UTF-8 universe. Try doing
export LANG=US Perl fines2.pl
And see if it acts better. Since LANG is probably already exported you can do this all one line in cron and such:
LANG=US Perl fines2.pl
-- </chris>
Hi Christopher Hicks Thanks for your help. you are right , I'm using RedHat Linux 8.0 , I've did what you asked me ( export LANG=us ) and the result was #perl fines2.pl perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "us" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). what sholud I do next ? thanks for you for chris and for everyone in Koha mailing list Mohamed Amin _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
On Mon, 7 Jul 2003, Mohamed Amin wrote:
I've did what you asked me ( export LANG=us ) and the result was
#perl fines2.pl perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "us" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").
what sholud I do next ?
Ah, sorry, go ahead and do LANG=C and you should be ok. I just tested this and it worked for me. -- </chris> The death of democracy is not likely to be an assassination from ambush. It will be a slow extinction from apathy, indifference, and undernourishment. -Robert Maynard Hutchins, educator (1899-1977)
participants (2)
-
Christopher Hicks -
Mohamed Amin