]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/development.ini
Added/improved comment explaining the use_unicode=0 paramter in the MySQL connection...
[philipp/winterrodeln/wradmin.git] / wradmin / development.ini
index 0239233d99625870d3ad274a87aaed3ee9ea3edc..2ff5875c21ba2c9d86076070448834fbe261410c 100644 (file)
@@ -37,7 +37,8 @@ authkit.basic.authenticate.user.data =
 
 # SQLAlchemy database URL
 sqlalchemy.url = mysql://philipp@localhost:3306/winterrodeln_wiki?charset=utf8&use_unicode=0
-# If use_unicode=1, sqlalchemy requests unicode strings from the MySQLdb backend (and does not do the conversion itself), however, since the tables are defined as 'varchar(x) binary' only binary string are returned and not converted to unicode.
+# If we would use "use_unicode=1" or omit the parameter (because its the default), sqlalchemy requests unicode strings from the MySQLdb backend (and does not do the conversion itself), however, since the tables are defined as 'varchar(x) binary' only binary strings are returned and not converted to unicode.
+
 # necessary for mySQL databases
 sqlalchemy.pool_recycle = 3600
 # sqlalchemy.echo_pool = 1