diff --git a/src/contactmodel.cpp b/src/contactmodel.cpp index a3d8316e72122dfd72d9e2d406e72d21d857ce10..39ec107f766fc3c5e92c406e09fe3d6d91832509 100644 --- a/src/contactmodel.cpp +++ b/src/contactmodel.cpp @@ -1161,6 +1161,8 @@ ContactModelPimpl::slotProfileReceived(const QString& accountId, if (!vCardFile.open(QIODevice::ReadOnly | QIODevice::Text)) return; QTextStream in(&vCardFile); + in.setCodec("UTF-8"); + auto vCard = in.readAll(); vCardFile.remove();