mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
13 lines
293 B
Java
13 lines
293 B
Java
// "Replace with 'StandardCharsets.UTF_8'" "true"
|
|
|
|
import java.io.*;
|
|
|
|
class Test {
|
|
void test(String inputFile) {
|
|
try (InputStream inputStream = new FileInputStream(inputFile)) {
|
|
new InputStreamReader(inputStream, "<caret>UTF-8");
|
|
}
|
|
catch (IOException ignored) {
|
|
}
|
|
}
|
|
} |