• Resolved zriqe

    (@zriqe)


    Hello,

    thanks for the great plugin it’s really helpful and very nice plugin,

    I try to download the vCard, if I open the file in text editor it have this text
    “CHARSET=UTF-8” and this is not working with me with android,

    could i know how to remove it or with code control this to solve this point

    FN;CHARSET=UTF-8:Abdelrahman Alzraiqi

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    Sorry, this vCard attribute can not be removed as it is required for multilingual support for desktop software and mobile (Andriod and iOS) contact import support.

    The issue could be the software on the Android device does not correctly support the vCard specification.

    I did look at the site, but I could not find the page with the directory, so I could do a quick test using my Android device to verify the issue.

    Thread Starter zriqe

    (@zriqe)

    Hello steven,
    thanks for fast reply,

    i wana to share with you my vCard as example directly from my website

    https://www.nfcsmart.net/28-2/name/abdelrahman-alzraiqi/vcard/

    if you open it with notepate you will see as example in the 3rd line
    FN;CHARSET=UTF-8:Eng Abdelrahman Alzraiqi

    the point is in most android file cant read this sentence “CHARSET=UTF-8”
    so once i update the file as the following
    FN:Eng Abdelrahman Alzraiqi
    its working 100%

    so if you can help my to update or modify the plugin to remove this sentence “CHARSET=UTF-8” it will be great help.

    thank you and regards

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Sorry, this parameter can not be removed as it will break import VCF on other platforms.

    I just tested the vCard link you provided on my Android device and it imported fine.

    What exactly is the issue with the import? It is possible that the contact app on your device is not properly parsing the VCF as device OEMs are permitted to utilize any contact app they desire. The default Google Contact apps import the VCF files without issue.

    Perhaps try a different contact app:

    I hope this helps!

    Thread Starter zriqe

    (@zriqe)

    if it possible to let me know from where i can start doing it by myself,
    it’s very important for my area,
    the plugin have no issue in general, but the point some of the mobile not working on them not on my mobile, and i don’t see to ask the other to install something or do any extra step rather than download the VCF file.

    so for my case the best scenario to remove ““CHARSET=UTF-8”” from the VCF, just at least tell me form where to start which file or folder,

    waiting your hint

    Plugin Author Steven

    (@shazahm1hotmailcom)

    You need to edit the class.entry-vcard.php file found in ../wp-content/plugins/connections//includes/entry folder.

    Search for the ->addParam( 'CHARSET', 'UTF-8' ) in the code and remove them.

    Keep in mind that removing this parameter may fix it for you but may break it for others.

    You never answered my previous question; “What exactly is the issue with the import?” Your sample vCard imported without issue on my Android devices. So I am curious as to precisely what does not work for you when you import the vCard file.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Vcard download with UTF-8’ is closed to new replies.