今天,用MYSQL數據庫開發時,遇到了這個問題,找了半天,發現是數據庫中的表,使用的字符集不是UTF-8,而我開發使用的是UTF-8,才造成了這個錯誤。
解決方法:到數據庫中,更改數據庫表的字符集爲UTF-8,即可解決問題!
{"type":"doc","content":[{"type":"blockquote","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null
{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"typ
{"type":"doc","content":[{"type":"heading","attrs":{"align":null,"level":1}},{"type":"blockquote","content":[{"type":"pa
{"type":"doc","content":[{"type":"heading","attrs":{"align":null,"level":1}},{"type":"paragraph","attrs":{"indent":0,"nu