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?
Use the type() function and compare to unicode or str respectively. E.g. If type(myvar)==unicode: -- DaveA -- https://mail.python.org/mailman/listinfo/python-list