def convertUTF8(str):
	if edce.globals.debug:
		print(">>>>>>>>>>>>>>>> convertUTF8")

	try:
		str.decode('utf-8')
		return str
	except __HOLE__:
		return str
	except UnicodeError:
		return str.encode('utf-8')
	except UnicodeEncodeError:
		return str.encode('utf-8')
dataset/ETHPy150Open Andargor/edce-client/edce/util.py/convertUTF8