in reply to Numerical value of strings

Thanks, I checked the error log and I am recieving an error: "Malformed UTF-8 character (unexpected continuation byte 0xa0, with no preceding start byte) in addition (+) at blah.pl line 224." Anyone have an idea how that got there?

Replies are listed 'Best First'.
Re: Re: Numerical value of strings
by RMGir (Prior) on Aug 05, 2003 at 15:59 UTC
    I'd guess perl 5.8.0 on a Redhat Linux box.

    By default, Redhat sets the locale environment variables to something like

    LANG="en_US.UTF-8"
    Unfortunately, that makes 5.8.0 treat all streams as unicode, which is a bad choice (and corrected in the 5.8.1 release candidates).

    Change your profile to set LANG=en_US, and the problem should go away.

    If I have the OS and perl version right, that is...
    --
    Mike