标签:pre decode string col code ret bsp str python
@staticmethod def unicode2str(p_unicode): v = p_unicode.encode(‘unicode-escape‘).decode(‘string_escape‘) if p_unicode is not None else None return v @staticmethod def str2unicode(p_str): v = p_str.decode(‘unicode-escape‘) if p_str is not None else None return v
python unicode to str and str to unicode
标签:pre decode string col code ret bsp str python
原文地址:https://www.cnblogs.com/zhaoyingjie/p/8963816.html