pass charsetNum from connection config #48