[egenix-users] mxODBCZopeDA unicode support
charlie at egenix.com
Tue Oct 17 19:16:26 CEST 2006
Am 17.10.2006, 18:02 Uhr, schrieb Kevin Campbell <kev at logicalware.com>:
> I'm trying to set up unicode support in mxODBCZopeDA, and I can't seem to
> find any option to do so. There are examples for dealing with the mxodbc
> library, which involve setting
> stringformat = mx.ODBC.Windows.MIXED_STRINGFORMAT
> Unfortunately, there doesn't seem to be a configuration option for
> in the zope adapter. The only solution I can see is to subclass the zope
> adapter and override the connect() method, which would be less than
> Is this the only solution?
Currently the best solution is to use an ExternalMethod. Apart from the
fact that you can't use ZSQL-Methods (well, you could if you pass in the
rendered version) this is best way to do this in Zope.
Professional Python Services directly from the Source
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
Try mxODBC.Zope.DA for Windows, Mac OS, Linux, Solaris, FreeBSD for free!
More information about the egenix-users