Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set character set to UTF-8 when passing through files. #115

Merged
merged 1 commit into from
Feb 11, 2015

Conversation

kris-sigur
Copy link
Collaborator

The default character encoding for file in Java is UTF-8. Since Heritrix never overrides this when writing logs and reports those files are encoded in UTF-8.

The restlets, however, assume a default character encoding of iso-8861-1. This means that reports and logs are presented using the wrong character set when viewed through the Heritrix GUI.

Most of the time this isn't an issue as Heritrix mostly uses the basic ASCII character set. It can however be an issue for customized reports/logs.

nlevitt added a commit that referenced this pull request Feb 11, 2015
Set character set to UTF-8 when passing through files.
@nlevitt nlevitt merged commit 789bd8a into internetarchive:master Feb 11, 2015
@kris-sigur kris-sigur deleted the report-encoding branch February 11, 2015 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants