FIREDAC连MYSQL中文会乱码,因为字符集的原因,字符集设为gb2312以后,不再乱码。

if SameText(DatabaseParams.driveId, 'MySQL') then
fdconnection.Params.Add('CharacterSet=gb2312');

相关文章:

  • 2022-12-23
  • 2021-06-15
  • 2021-06-28
  • 2022-02-20
  • 2022-12-23
  • 2021-08-11
猜你喜欢
  • 2021-11-06
  • 2022-02-04
  • 2021-12-28
  • 2021-10-15
  • 2022-03-08
  • 2022-12-23
  • 2021-06-04
相关资源
相似解决方案