[C++-sig] extract character from PyObject (c++)

Markus Heller markus at relix.de
Thu Sep 14 04:39:19 CEST 2006


Dear List,

I have this: a c++ PyObject which contains a unicode string. 

How can I isolate the individual unicode symbols from the string? Does anybody 
have sample code? 

Unfortunately I have only partly understood the definitions as given here:
http://docs.python.org/api/unicodeObjects.html

Thanks a lot! 

Markus






More information about the Cplusplus-sig mailing list