1. Add Chinese to excel: add U or Unicode (” Asad “,” UTF-8 “) 2 # -*- coding: UTF-8 -*- 3 Special symbols in characters obtained from the Web can be ignored if transcoding errors occur. For example, © 4 at the bottom of the homepage of the website. When writing data to Excel, it is best to reinitialize 5. Retrieve the string from the table, the best STR (data).encode(gb2312), after the operation of the shake to re-write the table, to.encode(” ASCII “) and other encoding