mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-07-17 04:57:11 +00:00
Set character set to UTF-8 when passing through files.
This commit is contained in:
@@ -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