[SyncEvolution] Char encoding in syncevo config

deloptes deloptes at gmail.com
Fri Mar 25 16:16:14 UTC 2016


Looking further into it I solved the issue by passing c_str() to parseVCard

        TDEABC::Addressee addressee = converter.parseVCard(item.c_str());

works OK

and when reading an item the same, after converting the TQString into
std::string, passing the c_str() to the item object
        item.assign(data_str.c_str());

works OK

so in both directions now encoding is preserved.

thanks for the hints and advises, without your help I wouldn't have solved
it so fast.


_______________________________________________
SyncEvolution mailing list
SyncEvolution at syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution



More information about the SyncEvolution mailing list