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

This reverts commit 2c9982cfff.
This commit is contained in:
Worros 2009-08-08 13:02:29 +08:00
parent 08a70b75f2
commit 150d8f7160

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: