Bill Janssen wrote: > While we're talking about this, Martin, what is the encoding of the > "string" returned by > > struct.pack("bbb", 0xFF, 0x00, 0x83) > > And what should it be? It's a byte string, so it doesn't have an encoding. It's MIME type might be 'application/octet-stream'. Regards, Martin