title: What encoding do I need to display a GBP sign (pound sign) using python on cygwin in Windows XP?
body: <p>I have a python (2.5.4) script which I run in cygwin (in a DOS box on Windows XP). I want to include a pound sign (£) in the output. If I do so, I get this error:</p>
  
  <pre><code>SyntaxError: Non-ASCII character '\xa3' in file dbscan.py on line 253, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
  </code></pre>
  
  <p>OK. So I looked at that PEP, and now tried adding this to the beginning of my script:</p>
  
  <pre><code># coding=cp437
  </code></pre>
  
  <p>That stopped the error, but the output shows ú where it should show £.</p>
  
  <p>I've tried ISO-8859-1 as well, with the same result.</p>
  
  <p>Does anyone know which encoding I need?</p>
  
  <p>Or where I could look to find out?</p>