I wrote a simple html parsing class in python and it seems to work fine and then I try to use it with django and I get this error:
\'ascii\' codec can\'t decode
Try putting that line at the top of your file. According to PEP 263, it has to be in the top two lines.
okay, I got it. All I needed to do was include # -*- coding: utf-8 -*- in the django view as well and that solved it!
# -*- coding: utf-8 -*-