in reply to Re^4: Mixed Unicode and ANSI string comparisons? ( binmode utf8 and :encoding(utf8))
in thread Mixed Unicode and ANSI string comparisons?

Hmm, not sure what you're talking about
perlunitut explains they :utf8 and :encoding(:utf8) aren't the same
As far as i can tell they're pretty much the same... OTOH, :encoding(utf-8) and :encoding(utf8) are not. I also don't agree with perlunitut that encoding(utf-8) is interchangeable with :utf8. It was written almost 10 years ago. binmode has better advice:
To mark FILEHANDLE as UTF-8, use ":utf8" or ":encoding(UTF-8)". ":utf8" just marks the data as UTF-8 without further checking, while ":encoding(UTF-8)" checks the data for actually being valid UTF-8.

Replies are listed 'Best First'.
Re^6: Mixed Unicode and ANSI string comparisons? ( binmode utf8 and :encoding(utf8))
by Anonymous Monk on Dec 15, 2015 at 03:33 UTC
      It does. As I said, he put it there to mute the warnings.