Unicode & MyDac 7.5

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Killbrum
Posts: 1
Joined: Wed 19 Sep 2012 10:26

Unicode & MyDac 7.5

Post by Killbrum » Wed 19 Sep 2012 10:37

Good day! I have one problem. Im using MyDac 7.5 version (last from site) and i need to use unicode with it. I have DB with utf8_general_ci encoding. When i try to parse field form my DB i get something like that "????????" but when i look into DB from Navicat i see correct encoding. Where is my fault? Thanks!

AndreyZ

Re: Unicode & MyDac 7.5

Post by AndreyZ » Wed 19 Sep 2012 11:11

Hello,

To solve the problem, you should set the TMyConnection.Options.UseUnicode property to True. For more information about the UseUnicode property, please refer to the MyDAC documentation.

Post Reply