This topic created in 4692 days ago, the information mentioned may be changed or developed.
3 replies • 1970-01-01 08:00:00 +08:00
 |
|
kfllJan 15, 2014 via iPad
1
Javascript 的 escape Unicode 嘛,什么语言都可以
|
 |
|
>>> print repr(u"上海") u'\u4e0a\u6d77'
|
 |
|
好了 name.encode('unicode_escape').upper().replace('\U','%u')
|