std::string data; wchar_t str2[512]; char str3[512]; ... picojson::object&obj = (*i).get<picojson::object>(); data = obj["text"].get<std::string>(); //UTF-8からShift-JISに変換(str3に格納) MultiByteToWideChar(CP_UTF8, 0, data.c_str(), strlen(data.c_str()) + 1, str2, MAX_PATH); WideCharToMultiByte(CP_ACP, 0, str2, sizeof(str2) / sizeof(str2[0]), str3, sizeof(str3), NULL, NULL);