title: C# `[FromBody]` attribute bad unicode decoding for JSON
body: <p>I have the following code,</p>
  
  <pre><code>[HttpPost("")]
  public async Task&lt;IActionResult&gt; Create([FromBody] JToken body)
  {   
      return Json(body);
  }
  </code></pre>
  
  <p>I tried <code>POST</code>ing with and without unicode character, both responds with the exact document, but the unicode ones doesn't decode correctly in C# debugger (it does not display correctly), nor does it do anything useful (<code>.ToString()</code> prints nothing.)</p>
  
  <p>My Request:</p>
  
  <pre><code>POST /api/vendors HTTP/1.1
  Content-Type: application/json; charset=utf-8
  Host: localhost:33000
  Connection: close
  User-Agent: Paw/2.2.5 (Macintosh; OS X/10.12.4) GCDHTTPRequest
  Content-Length: 18
  
  {
    "A":"你好"
  }
  </code></pre>
  
  <p>My Response:</p>
  
  <pre><code>{"A":"你好"}
  </code></pre>
  
  <p>Under Visual Studio, it shows:
  <a href="https://i.stack.imgur.com/o8At7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o8At7.png" alt="enter image description here"></a></p>