title: How to convert string to utf-8 in swift ?
body: <p>I was send data with socket. But some character didn't convert utf8. 
  I use this code when sending data</p>
  
  <pre><code>let message:String = self._messagesQueue[0]
  let data = message.data(using: String.Encoding.utf8)!
  let bytesWritten = data.withUnsafeBytes { self.outputStream?.write($0, maxLength: data.count) }
  </code></pre>
  
  <p>some character which "ş","ğ","ü" are displaying as "Å" 
  How to fix it this text ?</p>