Skip to content

Conversation

@pztrick
Copy link

@pztrick pztrick commented Jun 7, 2016

Needs to be tested on actual python2 project/environment for compatibility.

Python3 returns a bytes object which re.sub cries about. I also was not sure if there was reason for usage of ascii encoding so I switched to utf-8.

@vilcans
Copy link
Owner

vilcans commented Jun 7, 2016

I think the ascii encoding is needed to make sure special characters are encoded as XML entities instead of being kept, but I can't check it right now.

@vilcans
Copy link
Owner

vilcans commented Jan 10, 2026

Does not seem to be relevant (anymore).

@vilcans vilcans closed this Jan 10, 2026
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