Return to MPIWGHelper.py CVS log | Up to [Repository] / MPIWGWeb |
version 1.1.2.2, 2008/06/25 06:41:25 | version 1.1.2.3, 2008/08/26 14:00:41 |
---|---|
Line 77 def sortI(x,y): | Line 77 def sortI(x,y): |
def unicodify(str): | def unicodify(str): |
"""decode str (utf-8 or latin-1 representation) into unicode object""" | """decode str (utf-8 or latin-1 representation) into unicode object""" |
logging.error("unicodify: %s"%str) | |
if not str: | if not str: |
return "" | return "" |
if type(str) is StringType: | if type(str) is StringType: |