Skip to content Skip to sidebar Skip to footer

'ascii' Codec Can't Decode Byte (problem When Using Django)

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 byte 0xc2 in position

Solution 1:

Try putting that line at the top of your file. According to PEP 263, it has to be in the top two lines.


Post a Comment for "'ascii' Codec Can't Decode Byte (problem When Using Django)"