Hi,
I am trying to pack a unicode string of 40 bytes using the pack method.
data = pack('<8sB40s',
asc_time,
language_id,
message)
it throws the following error:
struct.error: argument for 's' must be a string
What is the argument for a unicode string?
Thanks in advance.