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?