title: Convert Platform::String to std::string
body: <p>I am getting <code>String^</code> which Contains some Indian language characters in a callback from C# Component in my C++ WinRT Component in a Cocos2dx game for Windows Phone 8 project.</p>
  
  <p>Whenever I convert it to <code>std::string</code> the Hindi and other characters turn in to garbage characters. I'm not able to find why this is happening.</p>
  
  <p>Here is a sample code and I have just defined <code>Platform::String^</code> here but consider it's passed to <code>C++ WinRT Component</code> from C# Component</p>
  
  <pre><code>String^ str = L"विकास, વિકાસ, ਵਿਕਾਸ, Vikas";
  std::wstring wsstr(str-&gt;Data());
  std::string res(wsstr.begin(), wsstr.end());
  </code></pre>