pyodbc: really fix endianess of SQL_WCHAR
authorDaniel Golle <daniel@makrotopia.org>
Sun, 16 Jul 2017 09:56:56 +0000 (11:56 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 16 Jul 2017 09:58:31 +0000 (11:58 +0200)
commit667674731fb539f654bca88101c93a9accad84b8
treedfbee583b6f7d7d5c1ba410fc5614f5c21149286
parent1a740145f3bdc922bb7f7022c571eb3ed156a3a1
pyodbc: really fix endianess of SQL_WCHAR

auto-endian auf UTF-16 doesn't work with all drivers, some fail to
interpret the byte-order-marking. Hence explicitely use UTF16BE on
big-endian systems and UTF16LE otherwise.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lang/python/pyodbc/Makefile
lang/python/pyodbc/patches/100-connection-assume-SQL_C_WCHAR-is-native-endian.patch