fix ascii to utf logging bug
Fix response encoding