Transfer Chinese

There are many times that the output of python result contains Chinese ,that can’t show.
So you need transfer it.

1
2
3
4
5
#.encode('utf-8')
#.decode('utf-8')
# For Example:
print('wifi scan result: {}'.format(i.ssid.encode('utf-8').decode('gbk')))