Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.

Re^2: Unicode strings internals

by vsespb (Chaplain)
on May 10, 2013 at 17:12 UTC ( [id://1032991] : note . print w/replies, xml ) Need Help??

in reply to Re: Unicode strings internals
in thread [SOLVED] Unicode strings internals

Yes, I understand that result of encode("utf8", ... ) is a byte string with UTF-8 flag off. But that does not answer the question in my post. In my example, both and print strings with UTF-8 on, with length <> bytes::length, but those strings behave differently. Why?