Re: Temperature degree ascii code error on cvs output file

2009-04-14 Thread Jesse
Thanks I'll give the suggestions a try. On Apr 14, 9:55 am, Karen Tracey wrote: > On Tue, Apr 14, 2009 at 12:35 PM, Alex Gaynor wrote: > > On Tue, Apr 14, 2009 at 12:25 PM, Jesse wrote: > > >> The error is 'ascii' codec can't encode character u'\xb0' in position > >> 98: ordinal not in range(1

Re: Temperature degree ascii code error on cvs output file

2009-04-14 Thread Karen Tracey
On Tue, Apr 14, 2009 at 12:35 PM, Alex Gaynor wrote: > On Tue, Apr 14, 2009 at 12:25 PM, Jesse wrote: > >> >> The error is 'ascii' codec can't encode character u'\xb0' in position >> 98: ordinal not in range(128) and it occurs when a temperature degree >> such as 35°C >> is in the text. >> >> I'

Re: Temperature degree ascii code error on cvs output file

2009-04-14 Thread Alex Gaynor
On Tue, Apr 14, 2009 at 12:25 PM, Jesse wrote: > > The error is 'ascii' codec can't encode character u'\xb0' in position > 98: ordinal not in range(128) and it occurs when a temperature degree > such as 35°C > is in the text. > > I'm using the following code in the view.py: > > response = HttpR

Temperature degree ascii code error on cvs output file

2009-04-14 Thread Jesse
The error is 'ascii' codec can't encode character u'\xb0' in position 98: ordinal not in range(128) and it occurs when a temperature degree such as 35°C is in the text. I'm using the following code in the view.py: response = HttpResponse(mimetype='text/csv') response['Content-Disposition'