in reply to Re^2: use bytes vs packed data
in thread use bytes vs packed data

There is a function to find out whether the string is stored as utf8 or 8-bit, but I can't remember what it's called. You might try exploring the different values and see.

Replies are listed 'Best First'.
Re^4: use bytes vs packed data
by ikegami (Patriarch) on May 04, 2011 at 16:45 UTC
      I thought there was some kind of scalar util library version, too.

      The Encode you referenced also explains how encoded/decoded strings are so-marked, so it would be good for the OP to go over. And it mentions "As of perl 5.8.1, utf8 also has utf8::is_utf8().