类似于如下的字符串(是访问某个接口返回的数据):
"{"request_id": "5077f3d06f6811eab59ebf5d2639f5fc1585230440554211", "code": 0, "msg": "", "data": {"fields": ["ts_code", "symbol", "name", "area", "industry", "market", "list_date"], "items": [["000001.SZ", "000001", "\u5e73\u5b89\u94f6\u884c", "\u6df1\u5733", "\u94f6\u884c", "\u4e3b\u677f", "19910403"] ...
该字符串省略了一部分,为什么golang读取网络请求(使用ioutil.ReadAll方法)得到的中文字符是unicode编码,如何转utf-8?
更多评论