由买买提看人间百态

topics

全部话题 - 话题: xb4
(共0页)
k****a
发帖数: 4944
l*********d
发帖数: 1
2
http://www.freedom-to-tinker.com
For those who want to test using Python:
a =
"\xd1\x31\xdd\x02\xc5\xe6\xee\xc4\x69\x3d\x9a\x06\x98\xaf\xf9\x5c\x2f\xca\xb5\
x87\x12\x46\x7e\xab\x40\x04\x58\x3e\xb8\xfb\x7f\x89\x55\xad\x34\x06\x09\xf4\xb
3\x02\x83\xe4\x88\x83\x25\x71\x41\x5a\x08\x51\x25\xe8\xf7\xcd\xc9\x9f\xd9\x1d\
xbd\xf2\x80\x37\x3c\x5b\xd8\x82\x3e\x31\x56\x34\x8f\x5b\xae\x6d\xac\xd4\x36\xc
9\x19\xc6\xdd\x53\xe2\xb4\x87\xda\x03\xfd\x02\x39\x63\x06\xd2\x48\xcd\xa0\xe9\
x9f\x33\x42\x0f\x57\x7e\xe8
E*V
发帖数: 17544
3
例如
\xb4\xfa\xba\xc5 就是 “代号”
r****t
发帖数: 10904
4
Try these:
>>> u'\u1234'.encode('ascii')
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii' codec can't encode character u'\u1234' in
position 0: ordinal not in range(128)
>>> u'\u1234'.encode('utf-8')
'\xe1\x88\xb4'
Are u working for them, or you are their customers?
(共0页)