Anthony E. Greene wrote:
> Patrick Nelson wrote:
>> Hmm... darn it local config?  I just did a workstation install and
>> didn't install any other perl stuff.  So the above script produces
>> 518 lines of errors.  They all start with: 
>> 
>>  Malformed UTF-8 character (unexpected ...
> 
> Google:  perl error "Malformed UTF-8 character"
> 

Tried that and found some reference to language and then did some searching
for what sets the LANG environment variable.  Found this in the
/etc/sysconfig/i18n which lists had contents of:

 LANG="en_US.UTF-8"
 SUPPORTED="en_US.UTF-8:en_US:en"
 SYSFONT="latarcyrheb-sun16"

changed this to:

 LANG="en_US"
 SUPPORTED="en_US.UTF-8:en_US:en"
 SYSFONT="latarcyrheb-sun16"

logged out and then back in, which did in fact change the value of LANG to
en_US.  Then tried the test of:

 #!/usr/bin/perl
 use Date::Manip;
 print "this\n";
 exit 0;

and now it works.  It seems that Date::Manip or Manip.pm has some encoding
that violates en_US.UTF-8. 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to