I am getting String^ which Contains some Indian language characters in a callback from C# Component in my C++ WinRT Component in a Cocos2dx game for Windows Pho
String^
With C++, you can convert from Platform::String to std::string with the following code:
Platform::String
std::string
Platform::String^ fooRT = "aoeu"; std::wstring fooW(fooRT->Begin()); std::string fooA(fooW.begin(), fooW.end());
Reference: How to convert Platform::String to char*?