title: Testing Python console programs with Unicode strings in NetBeans 6.9
body: <p>I try to run the following simple code in NetBeans 6.9</p>
  
  <pre><code>s = u"\u00B0 Celsius"
  print u"{0}".format(s)
  </code></pre>
  
  <p>But I get the following error:</p>
  
  <pre><code>UnicodeEncodeError: 'ascii' codec can't encode character u'\xb0' in position 0: ordinal not in range(128)
  </code></pre>