[Python-Dev] Allowing u.encode() to return non-strings

Bill Janssen janssen at parc.com
Mon Jun 28 20:18:52 EDT 2004


> That raises an exception.  Did you intend "BBB" as the format string?

Yes, I meant 'struct.pack("BBB", 0xFF, 0x00, 0x83)'.

Tim, do I understand then that Unicode strings have an implicit
character encoding, but non-Unicode strings do not?

Bill



More information about the Python-Dev mailing list