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

Added support for xml files in non-UTF8 encoding #6

Merged
merged 1 commit into from
Aug 1, 2019
Merged

Added support for xml files in non-UTF8 encoding #6

merged 1 commit into from
Aug 1, 2019

Conversation

akreuzer
Copy link

@akreuzer akreuzer commented Aug 1, 2019

This adds support for non-UTF8 encoded xml files.

Without this if xmlcutty was applied to files with an encoding tag like <?xml version="1.0" encoding="ISO-8859-1"?> processing would terminate with an error like
2019/08/01 07:55:02 xml: encoding "ISO-8859-1" declared but Decoder.CharsetReader is nil

@miku miku merged commit 975eb08 into miku:master Aug 1, 2019
@miku
Copy link
Owner

miku commented Aug 1, 2019

Wonderful, thanks. Created a new release (0.1.6) which includes this improvement.

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.

None yet

2 participants