unicode converting

Maxim Kasimov kasimov at i.com.ua
Wed Mar 16 03:38:07 EST 2005


Christos TZOTZIOY Georgiou wrote:
> 
> 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



More information about the Python-list mailing list