WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.intuit.ipp.exception.FMSException;
import com.intuit.ipp.util.Logger;
import com.intuit.ipp.util.StringUtils;
import java.nio.charset.StandardCharsets;

/**
* Interceptor to decompress the HTTP response
Expand Down Expand Up @@ -82,7 +83,7 @@ public void execute(IntuitMessage intuitMessage) throws FMSException {
String readLine = null;
StringBuilder responseBody = new StringBuilder();
try {
br = new BufferedReader(new InputStreamReader(responseElements.getResponseContent()));
br = new BufferedReader(new InputStreamReader(responseElements.getResponseContent(), StandardCharsets.UTF_8));

//get the response body received from socket connection
while (((readLine = br.readLine()) != null)) {
Expand Down