Re: Sending Unicode (UTF-8) data to dbrpcparam - SQL Server receives blank string
Marc Abramowitz <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <E5CD626161E81C4DBB58B3E7F649BEA2138AC1@DAGN04b-e6.exg6.exghost.com> |
Actually, I just tried out the git version and it appears that everything works perfectly there and I didn't have to change any code in pymssql. So it seems that this was a bug present in FreeTDS 0.91 but not in the git repo (the code looks quite different on git master from 0.91). Now I wonder if there's a way to tweak the way pymssql does things so that it can work properly with released versions of FreeTDS. Though perhaps this is not worth the trouble. Marc On 2/28/13 2:23 PM, "Marc Abramowitz" <[email protected]> wrote: >Is this something that I can fix in the pymssql code by calling FreeTDS >a little differently (e.g.: send it data encoded in UCS-2?)? Or is this >because of a bug in FreeTDS? >