Skip to content

Commit

Permalink
FIPS-11992/FIPS-11993 :: fix wrong encoding for IpsTestRunner
Browse files Browse the repository at this point in the history
Change-Id: I27919c5913d9741223447573efbb96f88d97cff5
  • Loading branch information
S3bB0 committed Sep 2, 2024
1 parent 8ec455a commit fc49570
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import java.io.InputStreamReader;
import java.net.ServerSocket;
import java.net.Socket;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
Expand Down Expand Up @@ -631,7 +632,7 @@ private boolean connect() {
}

private void readMessage(Socket socket) throws IOException {
reader = new BufferedReader(new InputStreamReader(socket.getInputStream()));
reader = new BufferedReader(new InputStreamReader(socket.getInputStream(), StandardCharsets.UTF_8));
try {
String line = null;
while ((line = reader.readLine()) != null) {
Expand Down

0 comments on commit fc49570

Please sign in to comment.