#!/usr/bin/python #coding:utf-8 x = u'中文' #print type(x) print len(x) print x x = u'Résumé' #print type(x) print len(x) print x x = u'string' #print type(x) print len(x) print x