Skip to content

Connecting to FileMaker Pro

Keith Erskine edited this page Feb 14, 2026 · 1 revision

FileMaker Pro uses the somewhat unusual text encoding of Mac OS Roman, hence you should set the encoding as follows:

cnxn = pyodbc.connect(my_dsn)
cnxn.setencoding(encoding='utf-8')
cnxn.setdecoding(pyodbc.SQL_CHAR, encoding='macroman')

Issues

It appears the ODBC drivers for FileMaker Pro are somewhat buggy. See the following issues for more info:

Clone this wiki locally