Added UTF-8 encoding support for response processing