django-htmlmin
django-htmlmin copied to clipboard
ASCII Error?
Hi guys,
I'm using your html minifcation on some HTML output for a blog. I'm getting an error that says: "'ascii' codec can't encode character u'\u22c5' in position 53: ordinal not in range(128)"
Any idea what I can do to get that fixed? From what I can see in the source code, it looks like you're trying to decode everything with utf-8, which makes me wonder why I'm getting an ASCII error.
Any ideas?
Thank you.
There needs to be a test written that verifies HTML with special characters can minify.
Hi! Can you upgrade version on PyPi with this fix?
Released! http://pypi.python.org/pypi/django-htmlmin/0.6.1
Thanks! It works now with small modifications of pelican-minify