mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-10-30 10:35:08 +00:00
Set character set to UTF-8 when passing through files.
This commit is contained in:
1 parent
2c9e82a261
commit
4ea7efdfc8
1 file changed
+6
@@ -107,6 +107,12 @@ public class EnhDirectoryResource extends DirectoryResource {
|
||||
};
|
||||
}
|
||||
}
|
||||
} else {
|
||||
ListIterator<Variant> iter = variants.listIterator();
|
||||
while(iter.hasNext()) {
|
||||
Variant v = iter.next();
|
||||
v.setCharacterSet(CharacterSet.UTF_8);
|
||||
}
|
||||
}
|
||||
|
||||
return variants;
|
||||
|
||||
Reference in new issue
Block a user