After a lot of testing, found a problem: as long as it is value less than 0 x80 characters can insert normally, but in the client database operation, can insert and query in Chinese to the Chinese, just in a program using otl insert and query when there is such a problem,
Heavily to solve
CodePudding user response:
This should be the problem of c + + ~CodePudding user response:
Set the corresponding character set,CodePudding user response:
Thank you, have been solved! Set the environment variable LANG value to and the database consistent character encoding