Converting string with UTF-8 to Unicode?

Mike C. Fletcher mcfletch at rogers.com
Tue Feb 11 00:37:14 EST 2003


value.decode( 'utf-8')

HTH,
Mike

Grumfish wrote:

>If I have a string with UTF-8 encoded chars like "\xe6\x9d\xb1" how
>can I convert it to a unicode string?
>  
>
_______________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://members.rogers.com/mcfletch/








More information about the Python-list mailing list