is this generic API can be use to change ucs-2 to ucs-4 PyObject * PyCodec_Encode( PyObject *object, const char *encoding, const char *errors );
if yes than what is the format of denoting ucs-4, because i try to do that but all times i got segmentation fault, i used "ucs-4-le" for little endian system and "ucs-4-be" for big endian system to set ucs-4 encoding. --------- Rahul Priyadarshi -- http://mail.python.org/mailman/listinfo/python-list