From: <sa...@us...> - 2007-08-14 05:31:15
|
Hi Harry, thank you for your patch to change the locale of the connection. It has been commited in revision 376 of the trunk and will be part of the next release. regards -- Sébastien Sablé $ svn commit -m "Additional 'locale' argument to connect and Connection to set the locale of the connection thanks to patch by Harri Pasanen" Envoi ChangeLog Envoi Sybase.py Envoi doc/dbapi.tex Transmission des données ... Révision 376 propagée. Harri Pasanen a écrit : > The attached patched allows setting the locale of the connection to > match that of the server. Otherwise you are likely to get the 2403 > warning/error from the Sybase if character sets mismatch in data. > > It is implemented as a new keyword argument to Sybase.connect(). > Example usage: > > cnx = Sybase.connect(dbServer, dbUser, dbPasswd, > auto_commit=1, datetime = 'python', > locale = 'utf8') > > > Enjoy, > > Harri |