En Mon, 27 Apr 2009 08:56:44 -0300, rahul <rahul03...@gmail.com> 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 irrelevant.
-- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list