title: Character encoding
body: <p>For this piece of code:</p>
  
  <pre><code>String content = String.Empty;
  ListenerStateObject state = (ListenerStateObject)ar.AsyncState;
  Socket handler = state.workSocket;
  
  int bytesRead = handler.EndReceive(ar);
  
  if (bytesRead &gt; 0)
  {
     state.sb.Append(Encoding.UTF8.GetString(state.buffer, 0, bytesRead));
  
     content = state.sb.ToString();
     ...
  </code></pre>
  
  <p>I'm geting 'Ol?' instead of 'Olá'</p>
  
  <p>What's wrong with it?</p>