#5663: markdown 1.6b unicodedecodeerror
-------------------------------------------------------------------+--------
Reporter: Koen Biermans <[EMAIL PROTECTED]> | Owner:
mboersma
Status: reopened |
Milestone:
Component: Contrib apps |
Version: SVN
Resolution: |
Keywords: markdown
Stage: Accepted |
Has_patch: 1
Needs_docs: 0 |
Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------------------------------+--------
Comment (by Daniel Pope <[EMAIL PROTECTED]>):
Thanks for your comprehensive clarification.
The encoding argument is completely ignored in 1.6b so your example gives
the same error:
{{{
>>> markdown.markdown(i.encode('utf8'), encoding='utf8')
Traceback (most recent call last):
...
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0:
ordinal not in range(128)
}}}
Could Django warn on the console if it finds Markdown 1.6b? I think that
might save users some headaches.
--
Ticket URL: <http://code.djangoproject.com/ticket/5663#comment:15>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---