quick fix for using encoding when selecting db
Merge pull request #36 from SalehObaid/master

quick fix for using encoding when selecting db