title: How can I ask jsoncpp to encode unicode strings?
body: <p>I'm using the following code to test jsoncpp</p>
  
  <pre><code>#include &lt;json/json.h&gt;
  #include &lt;iostream&gt;
  
  using namespace std;
  
  int main(int argc, char ** argv)
  {
      Json::Value root;
      root["test"] = "中文测试123";
  
      Json::StyledWriter styledWriter;
      cout &lt;&lt; styledWriter.write(root) &lt;&lt; endl;
  
      return 0;
  }
  </code></pre>
  
  <p>And the output is like this</p>
  
  <pre><code>{
     "test" : "中文测试123"
  }
  </code></pre>
  
  <p>I'm wondering if jsoncpp can escape those unicode to <code>\\uXXXX</code>?</p>
  
  <p>I've tried both FastWriter and StyledWriter, non of them works</p>