Display utf8 character

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for MySQL in Delphi and C++Builder
Post Reply

Display utf8 character

Post by user » Mon 24 Oct 2005 18:27

My database charset is utf8. It contains chinese character.

How to use dbExpress driver to load utf8 character?
Is it support?

I used set names utf8 command. I display incorrect charcter.

I'm using Delphi 2005, MySQL 5.0.15.

MyDAC is display property

Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Tue 25 Oct 2005 09:46

If you use dbExpress driver then you should manually convert values from UTF8 to (Wide)String before displaying. Or try to find thirdparty controls that support UTF8.

Post Reply