cobrateam / cobrateam/django-htmlmin
ASCII Error?
- Dominant language
- Python
- Stars
- 542
- Forks
- 72
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing HTML minification with the reported U+22C5 character and trace where the ASCII encoding error occurs. Confirm the fix by rerunning the same input and verifying that Unicode content is handled without the exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100