title: Swift HTML Decoding Trouble
body: <p>In Swift, I Decoding HTML using <code>NSAttributedString</code>, see below:</p>
  
  <pre><code>let encodedString = "Phải công nhận rằng kể từ lúc ông Thăng làm bộ trưởng"
  let encodedData = encodedString.dataUsingEncoding(NSUTF8StringEncoding)
  let attributedOptions = [NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType]
  let attributedString = NSAttributedString(data: encodedData, options: attributedOptions, documentAttributes: nil, error: nil)         
  let decodedString = attributedString.string
  println(decodedString)
  </code></pre>
  
  <p>But the result like this:</p>
  
  <blockquote>
    <p>Pháº£i cÃ´ng nháº­n ráº±ng ká»ƒ tá»« lÃºc Ã´ng ThÄƒngÂ lÃ m bá»™
    trÆ°á»Ÿng</p>
  </blockquote>
  
  <p>The true result must be the same with the <code>encodedString</code></p>
  
  <p>What's wrong in this method?</p>