support non-utf8 response strings