#475 Make sure legacy database connections use UTF8