#!/usr/bin/python

-- coding: utf-8 --

s = 'Python-欢迎您' print(s) b = s.encode('utf-8') print(b) print(b.decode('utf-8'))