python-minifier
python-minifier copied to clipboard
Support files with utf-8 characters
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()