Merge "Fix BpfLoaderRcUtils to support IOS_8859_1" into main
This commit is contained in:
@@ -87,7 +87,7 @@ public class BpfLoaderRcUtils {
|
|||||||
List<String> contents = new ArrayList<>();
|
List<String> contents = new ArrayList<>();
|
||||||
boolean bpfSectionFound = false;
|
boolean bpfSectionFound = false;
|
||||||
try (BufferedReader br = new BufferedReader(
|
try (BufferedReader br = new BufferedReader(
|
||||||
new InputStreamReader(inputStream, StandardCharsets.UTF_8))) {
|
new InputStreamReader(inputStream, StandardCharsets.ISO_8859_1))) {
|
||||||
String line;
|
String line;
|
||||||
while ((line = br.readLine()) != null) {
|
while ((line = br.readLine()) != null) {
|
||||||
line = line.trim();
|
line = line.trim();
|
||||||
|
|||||||
Reference in New Issue
Block a user