tssajo / Minify

Minify for Sublime Text allows you to quickly minify and/or beautify CSS, JavaScript, JSON, HTML and SVG files -- compatible with ST2 and ST3
Other
93 stars 16 forks source link

BUG it is impossible to convert #90

Open OmlineEditor opened 1 year ago

OmlineEditor commented 1 year ago

here is the error from the console, and below is the file itself

Minify: Minifying file:E:\Dropbox\pow.html Traceback (most recent call last): File "C:\soft\SublimeText3\Data\Packages\Minify\Minify.py", line 95, in <lambda> sublime.set_timeout_async(lambda: self.do_action(), 0) File "C:\soft\SublimeText3\Data\Packages\Minify\Minify.py", line 221, in do_action self.minify() File "C:\soft\SublimeText3\Data\Packages\Minify\Minify.py", line 176, in minify self.run_cmd(cmd, outfile, cwd) File "C:\soft\SublimeText3\Data\Packages\Minify\Minify.py", line 82, in run_cmd self.handle_result(cmd, outfile, retCode, output) File "C:\soft\SublimeText3\Data\Packages\Minify\Minify.py", line 65, in handle_result sublime.error_message(' '.join(cmd) + '\r\n\r\n' + output.decode('utf-8')) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xad in position 16: invalid start byte

file : pow.zip