Original Post
Is there any (simple) way to convert between an Ansi string and a Unicode one using the
codeka.com - Just click it.
std::string and std::wstring?
The main reason I implement my own version of these classes is because there''s no way that I''m aware of to convert a std::string to a std::wstring (and vise versa).
P.S. I''m looking for an equivalent to MultiByteToWideChar and WideCharToMultiByte - i.e. something that takes the code page into account...
codeka.com - Just click it.