in reply to Re^3: :utf8 I/O layer vs encoding(UTF8), segfault and speed
in thread :utf8 I/O layer vs encoding(UTF8), segfault and speed

I'm obviously missing something. I know the input is not correctly utf8 encoded. If :utf8 I/O layer only sets the internal utf8 flag and does not check the encoding then why am I getting encoding errors?

  • Comment on Re^4: :utf8 I/O layer vs encoding(UTF8), segfault and speed

Replies are listed 'Best First'.
Re^5: :utf8 I/O layer vs encoding(UTF8), segfault and speed
by almut (Canon) on Apr 01, 2009 at 19:44 UTC

    Just because the :utf8 I/O layer only sets the flag doesn't mean subsequent operations were disabled from spitting out their regular warnings when encountering junk data...