fix for custom charsets on subsequent connections in pool