title: UnicodeDecodeError: 'ascii' codec can't decode
body: <p>I'm reading a file that contains Romanian words in Python with file.readline().
  I've got problem with many characters because of encoding.</p>
  
  <p>Example :</p>
  
  <pre><code>&gt;&gt;&gt; a = "aberație"  #type 'str'
  &gt;&gt;&gt; a -&gt; 'abera\xc8\x9bie'
  &gt;&gt;&gt; print sys.stdin.encoding
  UTF-8
  </code></pre>
  
  <p>I've tried encode() with utf-8, cp500 etc, but it doesn't work.</p>
  
  <p>I can't find which is the right Character encoding I have to use ?</p>
  
  <p>thanks in advance.</p>
  
  <p>Edit: The aim is to store the word from file in a dictionnary, and when printing it, to obtain aberație and not 'abera\xc8\x9bie'</p>