]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/commit
Adding use_unicode=0 to the MySQL database connection string restores the behavior...
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sat, 30 Oct 2010 17:03:24 +0000 (17:03 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sat, 30 Oct 2010 17:03:24 +0000 (17:03 +0000)
commit710de5342451a78dd4b955371908a91a630d0c37
tree5c5c18280683a8798702f809075dbbcf79da2b71
parentf78f60fed2fd3373b0a78fd456c5cbd372fb1972
Adding use_unicode=0 to the MySQL database connection string restores the behavior, that unicode strings are returned instead of strings. If use_unicode=1 (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 string are returned and not converted to unicode.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wradmin@617 7aebc617-e5e2-0310-91dc-80fb5f6d2477
wradmin/development.ini
wradmin/wradmin/config/deployment.ini_tmpl