<br><br><div class="gmail_quote">On Mon, Mar 15, 2010 at 1:37 PM, Joel Pendery <span dir="ltr"><<a href="mailto:joel.pendery@gmail.com">joel.pendery@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
So I am trying to write a bit of code and a simple numerical<br>
subtraction<br>
<br>
y_diff = y_diff-H<br>
<br>
is giving me the error<br>
<br>
Syntaxerror: Non-ASCII character '\x96' in file on line 70, but no<br>
encoding declared.<br>
<br>
Even though I have deleted some lines before it and this line is no<br>
longer line 70, I am still getting the error every time. I have tried<br>
to change the encoding of the file to utf-8 but to no avail, I still<br>
am having this issue. Any ideas?<br>
<br>
Thanks in advance<br></blockquote><div><br>It's not UTF-8. My guess would be that you're on Windows and it's a dash character in cp1252. The actual minus sign is 0x2D. Your editor must be putting in the wrong character. <br>
</div></div>