python-minifier icon indicating copy to clipboard operation
python-minifier copied to clipboard

Support files with utf-8 characters

Open tygoee opened this issue 8 months ago • 0 comments

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()

tygoee avatar May 29 '25 11:05 tygoee