VBA ADODB Query Mysql returns character corruption

后端 未结 1 754
执念已碎
执念已碎 2021-01-29 09:04
Sub hh()
Dim sql As String
Dim rs As New ADODB.Recordset
Dim con As ADODB.Connection
Dim dbConnStr As String
dbConnStr = \"Driver={MySQL ODBC 5.2 ANSI DRIVER}; SERVER=lo         


        
相关标签:
1条回答
  • 2021-01-29 09:26

    It looks like you are using UNICODE characters. Please note that the ODBC driver comes in two flavours: ANSI and UNICODE. The latter is more appropriate to your situation. Use MySQL ODBC UNICODE Driver and you'll be good. Arigatou!

    0 讨论(0)
提交回复
热议问题