摘要:
#!/usr/bin/env python#encoding=utf-8def unicode2str(input_str): """ 将unicode类型转换为str类型 """ if type(input_str)==type(u""): return input_str.encode("utf-8","ignore") return input_strdef str2unicode(str... 阅读全文
posted @ 2012-11-30 13:23
lexus
阅读(244)
评论(0)
推荐(0)
浙公网安备 33010602011771号