Re: unicode encoding problem

2010-01-04 Thread Karen Tracey
On Mon, Jan 4, 2010 at 11:05 AM, Bill Freeman wrote: > I find the error slightly confusing because the mentioned character, \xc2, > which is capital A with circumflex, doesn't occur in the quoted part of the > text. Line 46 not included in your post, perhaps? Apparently the pound > signs, \xa3,

Re: unicode encoding problem

2010-01-04 Thread Alexander Dutton
Hi Bill, Simon, On 04/01/10 16:05, Bill Freeman wrote: > I find the error slightly confusing because the mentioned character, > \xc2, which is capital A with circumflex, doesn't occur in the quoted > part of the text. \xc2 is the first byte of a character encoded in UTF-8 as two bytes. The charac

Re: unicode encoding problem

2010-01-04 Thread Bill Freeman
I find the error slightly confusing because the mentioned character, \xc2, which is capital A with circumflex, doesn't occur in the quoted part of the text. Line 46 not included in your post, perhaps? Apparently the pound signs, \xa3, aren't bothering it because they're in u"", or maybe it would

Re: unicode encoding problem

2010-01-03 Thread Karen Tracey
On Sun, Jan 3, 2010 at 6:48 PM, Simon Davies wrote: > I know I'm missing something really simple really but I keep getting > this error: > > SyntaxError: Non-ASCII character '\xc2' in file /home/simon/ > djangoprojects/bikerescue/bikeshop/models.py on line 46, but no > encoding declared; see htt

unicode encoding problem

2010-01-03 Thread Simon Davies
I know I'm missing something really simple really but I keep getting this error: SyntaxError: Non-ASCII character '\xc2' in file /home/simon/ djangoprojects/bikerescue/bikeshop/models.py on line 46, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details. This is the m