how to find out utf or not

Mohsen Pahlevanzadeh mohsen at pahlevanzadeh.org
Tue Nov 5 14:02:57 CET 2013


Dear all,

Suppose i have a variable such as : myVar = 'x'

May be it initialized with myVar = u'x' or myVar = 'x'

So i need determine content of myVar that it's utf-8 or not, how can i
do it?


--mohsen






More information about the Python-list mailing list