84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
自己辛苦写了一个网站发布的东西,但是最后发现不能用!!?因为我的电脑的mac但是目标网站是gbk大家都知道 mac电脑不支持gbk~
所以我python post数据也就悲催了~只要是中文的,都乱码!
搜索了很久,发现提问的人少得很~
请问要怎么解决?尝试:u"测试文章".encode("gbk")还是失败!
业精于勤,荒于嬉;行成于思,毁于随。
I solved it myself. It’s very simple~"Test article".encode("gbk")
I solved it myself. It’s very simple~
"Test article".encode("gbk")