Included charset option to dsn

In some cases, the charset is necessary.