問題〈錯誤訊息〉:SyntaxError: Non-UTF-8 code starting with '\xe6' in file test.py on line 4, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
解答:程式碼中加入「mysqli_query($con, "SET NAMES UTF8");」,轉成UTF-8格式。
參考資料:http://www.vixual.net/blog/archives/310
沒有留言:
張貼留言