phone icon indicating copy to clipboard operation
phone copied to clipboard

输出来的结果其中的中文是十六进制的,怎么改为输出成中文呢?

Open xiyi-sc opened this issue 6 years ago • 5 comments

输出来的结果其中的中文是十六进制的,怎么改为输出成中文呢?

xiyi-sc avatar Dec 20 '17 03:12 xiyi-sc

不是16进制。

ls0f avatar Dec 20 '17 08:12 ls0f

那怎么样才能输出中文呢

xiyi-sc avatar Dec 28 '17 08:12 xiyi-sc

同样问题

ClearSeve avatar Feb 10 '19 13:02 ClearSeve

贴下你的代码?

ls0f avatar Feb 12 '19 01:02 ls0f

{'province': '\xe4\xb8\x8a\xe6\xb5\xb7', 'phone_type': '\xe7\xa7\xbb\xe5\x8a\xa8', 'city': '\xe4\xb8\x8a\xe6\xb5\xb7', 'area_code': '021', 'phone': '1380000000', 'zip_code': '200000'}

是utf-8 的

unizhu avatar Feb 18 '19 11:02 unizhu