title: Dumping unicode with YAML
body: <p>I'm creating yaml files from csv's that have a lot of unicode characters in them but I can't seem to get it to dump the unicode without it giving me a Decode Error.</p>
  
  <p>I'm using the <code>ruamel.yaml</code> library.</p>
  
  <pre><code>UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 11: ordinal not in range(128)
  </code></pre>
  
  <p>I've tried parsing strings, unicode strings, encoding with "utf-8" nothing seems to work. I've seen a lot of examples that show adding a representer to solve the issue but they all seem to be using the old method for ruamel and I can't seem to find out how to do that in the newer method documented anywhere.</p>
  
  <pre><code>from ruamel.yaml import YAML
  
  class YamlObject(YAML):
      def __init__(self):
          YAML.__init__(self)
          self.default_flow_style = False
          self.block_seq_indent = 2
          self.indent = 4
          self.allow_unicode = True
  
  textDict = {"text": u"HELLO_WORLD©"}
  textFile = "D:\\testFile.yml"
  yaml = YamlObject()
  yaml.dump(textDict, file(textFile, "w"))
  </code></pre>
  
  <p>I can unicode the entire dict and that works but it doesn't give me the format I need back.</p>
  
  <p>What I need is just:</p>
  
  <pre><code>text: HELLO_WORLD©
  </code></pre>
  
  <p>How can I do that?</p>