MySQL ODBC 3.51 Driver UTF-8 encoding

我只是一个虾纸丫 提交于 2019-11-28 12:49:16

According to this you can make it work by setting the DNS's 'Connect Options'->'Initial Statement' to 'SET NAMES utf8'.

I was experiencing a similar issue. In addition to answer above, I was also able to get the data to transfer properly by changing the character set in the column of my database to either ASCII or Latin1. I believe ODBC will not convert encoding which can result in mismatches with the database.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!