Fix DB connection encoding
Merge pull request #130 from andig/fix-encoding

Fix DB connection encoding