Re: is PyCodec_Encode API able to change encoding fron UCS-2 to UCS-4

2009-04-27 Thread Gabriel Genellina
En Mon, 27 Apr 2009 08:56:44 -0300, rahul escribió: is this generic API can be use to change ucs-2 to ucs-4 I forget to comment on UCS-2 and UCS-4. Python does not support them directly; use utf-16 and utf-32 instead. If you start with an encoded string in UCS-2, the differences are irrel

Re: is PyCodec_Encode API able to change encoding fron UCS-2 to UCS-4

2009-04-27 Thread Gabriel Genellina
En Mon, 27 Apr 2009 08:56:44 -0300, rahul escribió: 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 d

is PyCodec_Encode API able to change encoding fron UCS-2 to UCS-4

2009-04-27 Thread rahul
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 "

is PyCodec_Encode API able to change encoding fron UCS-2 to UCS-4

2009-04-27 Thread rahul
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 "