5.5.27 Version of If the data is in Chinese, there is garbled code
I don't know why
CSDN Q & A 2022-02-13 07:32:29 阅读数:145
5.5.27 Version of If the data is in Chinese, there is garbled code
I don't know why
For the possible causes and solutions of this situation, please refer to here ,https://blog.csdn.net/whathellll/article/details/99566893
Delete table , Appoint UTF-8 Code and rebuild the table .
Try a higher version
Print it before inserting it into the database , See what's wrong
Visually check whether the table data is garbled If yes, set the table and field type to utf8 If there is no garbled code in the form, it is in cmd Switch to UTF-8
Carry out orders chcp 65001
cmd It seems that the decoding method is GBK Of Change to GBK try
copyright:author[CSDN Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130732273834.html