[30] added possibility to use custom charset