no struct.pack for unicode strings?

Radovan Garabik spam at melkor.dnp.fmph.uniba.sk
Fri Oct 18 02:53:41 EDT 2002


Why there is no format to pack/unpack unicode strings?
Or am I missing something?

My application needs to struct.pack unicode strings, to save them into a
file which can be then read by a C extension module where I need to
access characters of the string (as Py_UNICODE).

-- 
 -----------------------------------------------------------
| Radovan Garabík  http://melkor.dnp.fmph.uniba.sk/~garabik |
| __..--^^^--..__         garabik @ fmph . uniba . sk       |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!



More information about the Python-list mailing list