Revert "Make sure the db connection is encoded using utf8"

This reverts commit 2c9982cfff.
This commit is contained in:
eblade 2009-08-06 02:11:26 -04:00
parent afc4c026f9
commit a7f857a90c

View File

@ -64,7 +64,7 @@ class fpdb_db:
if backend==fpdb_db.MYSQL_INNODB:
import MySQLdb
try:
self.db = MySQLdb.connect(host = host, user = user, passwd = password, db = database, use_unicode=True, charset="utf8")
self.db = MySQLdb.connect(host = host, user = user, passwd = password, db = database, use_unicode=True)
except:
raise fpdb_simple.FpdbError("MySQL connection failed")
elif backend==fpdb_db.PGSQL: