65.9K
CodeProject is changing. Read more.
Home

ASCII strings to Unicode in C++

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.89/5 (2 votes)

Mar 28, 2011

CPOL
viewsIcon

28060

std::string source = "Hello World";std::wstring result( source.begin(), source.end() );One coding line less !

std::string source = "Hello World";
std::wstring result( source.begin(), source.end() );
One coding line less !