Thanks,
Kevin
you can use the ATL USES_CONVERSION stuff to do basic conversion, but that doesn't solve the issue of passing those characters to the page.
Richard
--
Kevin
This sounds like what you want:
http://github.com/browserplus/platform/blob/master/src/libs/bputils/src/Utils/bpstrutil.cpp#L61-185
best,
lloyd
http://selenium.googlecode.com/svn/trunk/chrome/src/cpp/npchromedriver/npapi_hooks.cc
Selenium is ASLv2, so you can use that without licensing issues. It
does, however, only handle Windows. A more general approach would
probably be based on something in the wcstombs family.
Alternatively, if we're willing to accept lossy conversion, the
following works fine:
std::string blah("something");
std::wstring wide;
wide.assigns(blah.begin(), blah.end());
--
Kevin