Open GoogleCodeExporter opened 8 years ago
The freetdstests.py all pass, and they test varchar and nvarchar for all of the
following sizes: 0, 1, 255, 256, 510, 511, 512, 1023, 1024, 2047, 2048, 4000.
I'm guessing there is something else.
Can you retest with pyodbc 3.0.6. I am also using tds version 7.2, though I'm
not sure if that would be necessary.
If you are still getting the error, can you supply a small test (a couple of
values and how you are checking that they are in UCS-16).
Original comment by mkleehammer
on 27 Sep 2012 at 10:19
Original comment by mkleehammer
on 29 Sep 2012 at 4:59
I am seeing this on a 64bit mac with pyodbc 3.0.7 and unixodbc 2.3.2 connecting
to vertica 6.1.2. vsql and dbvisualizer both display rows in correct format.
pyodbc in ipython notebook or python shell show lines like
u'\U00103030\udc8d\udc35...'
using hombrew installed python 2.7.6 and anaconda python 2.7.6
odbc.ini (relevant parts)
[ODBC Data Sources]
Vertica = vertica dev server
[Vertica]
Driver = Vertica
DriverManagerEncoding=UTF-8
vertica.ini
[Driver]
DriverManagerEncoding=UTF-8
ODBCInstLib=/usr/local/lib/libodbcinst.dylib
ErrorMessagesPath=/opt/vertica/lib
Original comment by kesten.b...@gmail.com
on 7 May 2014 at 6:05
Original issue reported on code.google.com by
denis.st...@unipag.com
on 10 Mar 2012 at 7:26