If unicode_data references your unicode data, all you have to send is:
unicode_data.encode('utf-16') # maybe utf-16be for network order
is utf-16 string the same ucs-2? my question is how to get string encoded as UCS-2
-- Best regards, Maxim -- http://mail.python.org/mailman/listinfo/python-list