One problem description
Use canal to synchronize data from the source to the target, and find that Chinese garbled characters, such as'Dandan', have become ??, and the character sets of the target database, tables, and fields are all utf8. Manually insert Chinese data on the target. No garbled.
Two solutions
2.1 Check the character set configuration of the canal instance
canal.instance.connectionCharset = UTF-8
2.2 Check the character set configuration of the canal client
Check if characterEncoding=utf-8 is configured