This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Unicode code point zero (aka ascii NUL control character) | |
>>> u"\u0000" | |
# Is only one code-point long | |
>>> len(u"\u0000") | |
1 | |
# Encodes to 0x00 in hex (aka 0000 0000 in binary) | |
>>> u"\u0000".encode("utf-8") | |
b'\x00' |
OlderNewer