Skip to content

Conversation

tygoee
Copy link

@tygoee tygoee commented May 29, 2025

Files containing utf-8 would not minify with the error:

UnicodeEncodeError: 'charmap' codec can't encode character '\u...' in position ...: character maps to

This commit adds encoding=utf8 to open()

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.

1 participant