Which dbExpress ServerCharSet do I need for utf8 d

2019-05-31 02:58发布

We tried ServerCharSet=utf8 and ServerCharSet=UTF8, based on information found in newsgroups - but still, special characters / Umlauts do not appear correctly in the client data.

We use Delphi 2009 and the built-in dbExpress driver. Field data is retrieved using AsWideString.

1条回答
看我几分像从前
2楼-- · 2019-05-31 02:58

you have to set up a client charset.
Simple "SET NAMES utf8" query, executed right after connect, will do the trick

查看更多
登录 后发表回答