print len('哈哈'.decode('utf-8')) #unicode格式 

 print len('哈哈') #utf-8格式