STLTemplate/STL & EffectiveSTL
std::string 에서 std::wstring 으로 변환
3DMP
2013. 5. 25. 12:11
std::string directoryPath;
std::wstring wPullPathFilename;
wPullPathFilename.assign( directoryPath.begin(),directoryPath.end() );
예상하듯 string 에서 wstring 으로 변환은 괜찮지만
wstring 에서 string 으로 변환시 문자를 표현하는 특성상 제대로 표현되지 않을 수 있다
반응형