Re: mysqlIndexerTest.test_unicode fails for me
Ralf Schlatterbeck <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
In roundup/backends/back_mysql.py we had a condition on python version >2 for supplying the charset (utf-8) argument when creating a mysql connection. I've changed this to an unconditional initialization. Works for me and I guess this has worked for quite some time. The charset argument on connection creation seems to have been supported by the library since mysql 4.1 which was released in 2004. I still do not know why it defaults to latin1 on my system, though. Test now passes for me for both, python2 and python3. Ralf -- Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16 Open Source Consulting www: http://www.runtux.com Reichergasse 131, A-3411 Weidling email: [email protected]