Sorry. I passed some UTF-8 text to the
django.contrib.markup.templatetags.markup.markdown function (which is
included with django), and got what appeared to be an incorrectly
encoded string in return.
I thought this MIGHT be a bug with the django markdown function. If it
was, then I would
On Wed, May 21, 2008 at 2:32 PM, Waylan Limberg <[EMAIL PROTECTED]> wrote:
[snip]
> in mind that markdown knows (almost) nothing about encodings. It only
> works with unicode (or ascii) text. You *must* give markdown unicode
> text and it *only* outputs unicode text. It is your responsibility to
This appears to be a usage question. This list is for the development
of Django itself, not developing projects that use Django. Usage
questions should be directed to the django-users list [1].
[1]: http://groups.google.com/group/django-users
That said, it appears that you are taking issue with
I just ran into an issue where i was getting unicode errors when trying
to insert data into mysql (via a model).
I had this code:
--
from django.contrib.markup.templatetags.markup import markdown
def save(self):
self.content_html = markdown(self.content_source)