We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9129611 commit bf50b99Copy full SHA for bf50b99
src/main/java/org/jabref/logic/importer/Importer.java
@@ -121,7 +121,8 @@ protected static Charset getCharset(BufferedInputStream bufferedInputStream) {
121
return defaultCharSet;
122
}
123
124
- if (Arrays.stream(matches).anyMatch(charset -> "ASCII".equals(charset.getName()))) {
+ // if we have utf8 with 100 confidence we
125
+ if (Arrays.stream(matches).anyMatch(charset -> "ASCII".equals(charset.getName()) || ("UTF-8".equals(charset.getName()) && charset.getConfidence() == 100))) {
126
127
128
0 commit comments