http://qs321.pair.com?node_id=1032991


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 poc1.pl and poc2.pl print strings with UTF-8 on, with length <> bytes::length, but those strings behave differently. Why?