SPUG: Malformed UTF-8 character (unexpected end of string)

Yitzchak Scott-Thoennes sthoenna at efn.org
Fri Jul 16 19:45:22 CDT 2004

On Thu, Jul 15, 2004 at 02:17:04PM -0700, "Johnston, Mark" <mark.johnston at pnl.gov> wrote:
> Luis,
> Do you expect the web log to be encoded as UTF-8?  If not, you may need
> to specify the correct encoding when you open it.  If your LANG
> environment variable specifies that the default system text encoding is
> utf8, then Perl expects strings to be UTF-8 encoded.

Not true, except with 5.8.0.  Beginning with 5.8.1, perl will only expect
utf8 when you've specifically asked it to (whether through PERLIO,
the -C command line switch, open(), or binmode().)

More information about the spug-list mailing list