title: How can I give "Japanese/Chinese" data?
body: <p><strong>Context:</strong> Japanese sample data, does not get displayed (cout) as is taken in sample. Why so?</p>
  
  <p>Below is the code:</p>
  
  <pre><code>std::setlocale(LC_ALL,"");
  wchar_t *pStrAddr = L"日本語";
  wcout &lt;&lt;"pStrAddr:: "&lt;&lt; pStrAddr &lt;&lt; std::endl;
  </code></pre>
  
  <p>Output is observed as:</p>
  
  <pre><code>pStrAddr:: �,�
  </code></pre>