今天,用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