- eventData.summaryData = txtEventName->GetValue().ToStdString();
-
- if (eventData.descriptionList.size() > 0)
- {
- eventData.descriptionList[0] = txtEventDescription->GetValue().ToStdString();
- }
- else
- {
- eventData.descriptionList.push_back(txtEventDescription->GetValue().ToStdString());
- eventData.descriptionListAltRep.push_back("");
- eventData.descriptionListLanguage.push_back("");
- eventData.descriptionListTokens.push_back("");
- }
-
- eventData.descriptionList.push_back(txtEventDescription->GetValue().ToStdString());
+ eventData.summaryData = string(txtEventName->GetValue().ToUTF8());
+
+ if (eventData.descriptionList.size() > 0)
+ {
+ eventData.descriptionList[0] = string(txtEventDescription->GetValue().ToUTF8());
+ }
+ else
+ {
+ eventData.descriptionList.push_back(string(txtEventDescription->GetValue().ToUTF8()));
+ eventData.descriptionListAltRep.push_back("");
+ eventData.descriptionListLanguage.push_back("");
+ eventData.descriptionListTokens.push_back("");
+ }
+
+ eventData.descriptionList.push_back(string(txtEventDescription->GetValue().ToUTF8()));