set targetResponse encoding