Encoding 如何将SQLite ODBC驱动程序与UTF-8编码结合使用?

Encoding 如何将SQLite ODBC驱动程序与UTF-8编码结合使用?,encoding,utf-8,sqlite,Encoding,Utf 8,Sqlite,我从下载并安装了SQLite ODBC驱动程序。 我的列表中有三个新的ODBC驱动程序 SQLite (UTF-8) Driver SQLite ODBC Driver SQLite3 ODBC Driver 使用SQLITE3ODBC驱动程序工作正常。但不是UTF-8 我认为在本例中可以工作的SQLite ODBC(UTF-8)驱动程序只会给我错误消息 Fehler beim Herstellen der Verbindung zur Datenquelle test IM002 [Mi

我从下载并安装了SQLite ODBC驱动程序。 我的列表中有三个新的ODBC驱动程序

SQLite (UTF-8) Driver
SQLite ODBC Driver
SQLite3 ODBC Driver
使用SQLITE3ODBC驱动程序工作正常。但不是UTF-8

我认为在本例中可以工作的SQLite ODBC(UTF-8)驱动程序只会给我错误消息

Fehler beim Herstellen der Verbindung zur Datenquelle test


IM002 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Fehler beim Herstellen der Verbindung zur Datenquelle: test
英文译本:

Error connecting to data source test
IM002 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Error connecting to data source test

我做错了什么?

SQLite驱动程序的提供商Christian Werner通过电子邮件帮助我。 事实证明,在SQLite3 ODBC驱动程序的设置中,必须打开
OEMCP翻译
(通过在ODBC数据源管理员中单击特定用户DSN的配置…)


现在,所有字符都按预期显示。

在连接字符串中,这将转换为OEMCPTRANSACTION参数:


connStr=“DRIVER={{{SQLite3-ODBC-DRIVER}};数据库=;OEMCPTransation=1”

今天在我的例子中{…}起作用,但在使用VBA将表从Access数据库复制到SQLite数据库时{…}不起作用:

DoCmd.TransferDatabase acExport, "ODBC Database", _
"ODBC;DRIVER={SQLite3 ODBC Driver};Database=<path>;OEMCPTranslation=1;", _
acTable, <source table>, <destination table>
DoCmd.TransferDatabase acExport,“ODBC数据库”_
“ODBC;驱动程序={SQLite3 ODBC驱动程序};数据库=;OEMCPTransation=1;”_
可执行,