codecs.charmap_encode()

codecs.charmap_encode()