Database qa/qc would be so much easier when no data is entered....
Last week I was dealing with newline characters. (see Where clause for '\n' ). Today I'm getting the following error:
Runtime error
Traceback <SPAN class="punctuation token">(</SPAN>most recent call last<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">:</SPAN>
File <SPAN class="string token">"<string>"</SPAN><SPAN class="punctuation token">,</SPAN> line <SPAN class="number token">26</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="keyword token">in</SPAN> <SPAN class="operator token"><</SPAN>module<SPAN class="operator token">></SPAN>
UnicodeEncodeError<SPAN class="punctuation token">:</SPAN> <SPAN class="string token">'ascii'</SPAN> codec can<SPAN class="string token">'t encode character u'</SPAN>\u201c' <SPAN class="keyword token">in</SPAN> position <SPAN class="number token">10</SPAN><SPAN class="punctuation token">:</SPAN> ordinal <SPAN class="operator token">not</SPAN> <SPAN class="keyword token">in</SPAN> range<SPAN class="punctuation token">(</SPAN><SPAN class="number token">128</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Okay... Best I can tell u201c is a left double quote.(http://www.fileformat.info/info/unicode/char/201C/index.htm ). I put
<SPAN class="comment token"># -*- coding: utf-8 -*- </SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
as the first line of my script and it still errors out. Am I doomed, or is there a way past these special characters?