handle charset settings for pooling