Use response character encoding

I think response character encoding should be used if this value was set or else default to "url-8" value.