MOD: Generate string of http reponse using charset set in the http
response header, default utf-8