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
使用pycharm IDE,搭配mongodb Explorer,抓取数据存放至mongodb中,但是中文全部显示不出来,都是方块。。。google了一下没有类似问题。。请大牛帮帮忙,不胜感激!
人生最曼妙的风景,竟是内心的淡定与从容!
You first output the data to the console to see what it looks like, and then see what encoding your data is. Check the encoding like this
import chardet test ="xxx" print chardet.detect(test)
You should check the encoding of the title in your question before putting it into mongodb.
Do you see garbled characters in the mongo Shell?
You first output the data to the console to see what it looks like, and then see what encoding your data is.
Check the encoding like this
You should check the encoding of the title in your question before putting it into mongodb.
Do you see garbled characters in the mongo Shell?