Chris,

Good find. For now, I suggest you edit mssql.py  and change
MSSQLDialect_pyodbc.supports_unicode_statements to return False. Or even
something list "os.name == 'winnt'".

Longer term, if PyODBC can support unicode statements on Unix, that's
amazing!

Paul



On 8/13/07, Christophe de VIENNE <[EMAIL PROTECTED]> wrote:
>
>
> Hi again,
>
> I found something :
> Using ipython, I could reprodure the error, by calling a
> [engine.connect].execute(q, r), when q is a... unicode string. writing
> ...execute(q.encode('utf-8'), r) solved the problem.
>
> I am looking at pyodbc internals to see if the problem comes from there.
>
> Christophe
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to