A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-June/045711.html below:

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

[Python-Dev] Allowing u.encode() to return non-strings [Python-Dev] Allowing u.encode() to return non-stringsBill 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4