title: print UTF-8 character in Python 2.7
body: <p>Here is how I open, read and output. The file is an UTF-8 encoded file for unicode characters. I want to print the first 10 UTF-8 characters, but the output from below code snippet print 10 weird unrecognized characters. Wondering if anyone have any ideas how to print correctly? Thanks.</p>
  
  <pre><code>   with open(name, 'r') as content_file:
          content = content_file.read()
          for i in range(10):
              print content[i]
  </code></pre>
  
  <p>Each of the 10 weird character looks like this,</p>
  
  <pre><code>�
  </code></pre>
  
  <p>regards,
  Lin</p>