title: How can I convert a wchar_t* to char* without losing data?
body: <p>I'm using a Japanese string as a <code>wchar_t</code>, and I need to convert it to a <code>char*</code>. Is there any method or function to convert <code>wchar_t*</code> to <code>char*</code> without losing data?</p>