8/27/2014

python byte to string, string to byte example

refer to this code
thank you.

str = byte.decode( encoding='UTF-8')
byte2 = str.encode( encoding='UTF-8' )

No comments:

Post a Comment