Re: [SQLObject] Unicode fun with SQLObject and MySQLdb

2006-09-04 Thread Ivan Horvath
>This helped for me. >Viktor > > >- Original Message - >From: "Ivan Horvath" <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> >To: <mailto:sqlobject-discuss@lists.sourceforge.net>> >Sent: Thursday, August 24, 2006 5:14 PM >Subject: Re: [

Re: [SQLObject] Unicode fun with SQLObject and MySQLdb

2006-09-03 Thread Binzberger Viktor
TECTED] <mailto:[EMAIL PROTECTED]>> To: mailto:sqlobject-discuss@lists.sourceforge.net>> Sent: Thursday, August 24, 2006 5:14 PM Subject: Re: [SQLObject] Unicode fun with SQLObject and MySQLdb > Dear Nadav, > > unfortunately i receive now the same error, when i try to insert >

Re: [SQLObject] Unicode fun with SQLObject and MySQLdb

2006-08-24 Thread Ivan Horvath
Dear Nadav, unfortunately i receive now the same error, when i try to insert some non ascii characters. the strange is that my system gives the db_encoding as latin-1, but my table collation is utf-8. so do you have any solution inserting non ascii characters to a un

Re: [SQLObject] Unicode fun with SQLObject and MySQLdb

2006-07-10 Thread Nadav Samet
Hi, Thanks, but I get the same exception. It seems that the only role of use_unicode is to force StringCol's to be UnicodeCol's. My columns are already UnicodeCol's. Nadav On 7/10/06, Ivan Horvath <[EMAIL PROTECTED]> wrote: > Dear Nadav, > > try using the connection string with use_unicode

Re: [SQLObject] Unicode fun with SQLObject and MySQLdb

2006-07-10 Thread Ivan Horvath
Dear Nadav, try using the connection string with use_unicode parameter e.g. connString = "mysql://root:[EMAIL PROTECTED]/test?use_unicode=1" __connection__ = connectionForURI(connString) Saturday, July 8, 2006, 12:54:35 PM, you wrote: NS> Hi, NS> I am using SQLObject-0.8dev_r1814, My

[SQLObject] Unicode fun with SQLObject and MySQLdb

2006-07-08 Thread Nadav Samet
Hi, I am using SQLObject-0.8dev_r1814, MySQLdb 1.2.1_p2 and MySQL 5.0.22 on Arch Linux. I am using fields of type UnicodeCol. When I try to insert such object to the database I get an exception which originates in MySQLdb: File "/usr/lib/python2.4/site-packages/SQLObject-0.8dev_r1814-py2.4.egg