I have implemented vCard on the website. The problem is that special characters are not correctly processed in windows.
I can make it work fine for Mac, but as soon as I open vcf on Windows (Windows Contacts), it gets corrupted. When I open vcf in Notepad, it usually displays characters.
I tried all the vcf versions that I could find (2.1.3.0.4.0). I used charset-utf-8 in my content header (text / x-vcard; charset: utf-8). I used N; CHARSET = utf-8: (and for other tags).
All to no avail.
Does anyone have a solution? Thank you for sharing your understanding.
Headers Used:
header("Content-type: text/x-vcard; charset=utf-8"); header("Content-Disposition: attachment; filename=".$this->filename.".vcf"); header("Pragma: public");
hphoeksma
source share