do not set charset if not connected #7