From e0c5f52d0f002114c0922994201906ecd99c8dc6 Mon Sep 17 00:00:00 2001 From: sqlcoder Date: Sat, 30 Jan 2010 11:11:21 +0000 Subject: [PATCH] uncommented sqlite unicode fix (fix only tested on Windows XP, cp1252) --- pyfpdb/Configuration.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyfpdb/Configuration.py b/pyfpdb/Configuration.py index 9e90a5bb..639007f1 100644 --- a/pyfpdb/Configuration.py +++ b/pyfpdb/Configuration.py @@ -653,11 +653,10 @@ class Config: db['db-backend'] = 3 elif self.supported_databases[name].db_server== DATABASE_TYPE_SQLITE: db['db-backend'] = 4 - # sqlcoder: this assignment fixes unicode problems for me with sqlite (windows, cp1252) # feel free to remove or improve this if you understand the problems # better than me (not hard!) - #Charset.not_needed1, Charset.not_needed2, Charset.not_needed3 = True, True, True + Charset.not_needed1, Charset.not_needed2, Charset.not_needed3 = True, True, True else: raise ValueError('Unsupported database backend: %s' % self.supported_databases[name].db_server) return db