summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/vcf
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/vcf')
-rw-r--r--kfile-plugins/vcf/kfile_vcf.cpp7
-rw-r--r--kfile-plugins/vcf/kfile_vcf.desktop1
2 files changed, 5 insertions, 3 deletions
diff --git a/kfile-plugins/vcf/kfile_vcf.cpp b/kfile-plugins/vcf/kfile_vcf.cpp
index 76b3383c6..5dcfc2c17 100644
--- a/kfile-plugins/vcf/kfile_vcf.cpp
+++ b/kfile-plugins/vcf/kfile_vcf.cpp
@@ -68,8 +68,11 @@ bool KVcfPlugin::readInfo( KFileMetaInfo& info, uint /*what*/ )
file.close();
KABC::VCardConverter converter;
- KABC::Addressee addr = converter.parseVCard(contents);
-
+#if defined(KABC_VCARD_ENCODING_FIX)
+ KABC::Addressee addr = converter.parseVCardRaw( contents.utf8() );
+#else
+ KABC::Addressee addr = converter.parseVCard( contents );
+#endif
KFileMetaInfoGroup group = appendGroup(info, "Technical");
// prepare the text
diff --git a/kfile-plugins/vcf/kfile_vcf.desktop b/kfile-plugins/vcf/kfile_vcf.desktop
index ced0dfc34..4d1c5b4b3 100644
--- a/kfile-plugins/vcf/kfile_vcf.desktop
+++ b/kfile-plugins/vcf/kfile_vcf.desktop
@@ -26,7 +26,6 @@ Name[hu]=VCard-jellemzők
Name[is]=vCard upplýsingar
Name[it]=Informazioni vCard
Name[ja]=vCard 情報
-Name[ka]=vCard ინფორმაცია
Name[kk]=vCard мәліметі
Name[km]=ព័ត៌មាន vCard
Name[lt]=vCard informacija