The documentation has an example importing a VCF address book file which works fine:
Import[ "ExampleData/wolfram.vcf" ]
{{FormattedName->Wolfram Research, Inc.,Organization->Wolfram Research, Inc.,Email->[email protected],Phone->217-398-0700,Fax->217-398-0747,Address1->100 Trade Center Drive,City->Champaign,State->IL,ZIPCode->61820,Country->USA}}
But in my case:
Import["F:\\mathematica\\send_contact.vcf"]
{{NameLast->=E6=B5=8B=E8=AF=95,FormattedName->=E6=B5=8B=E8=AF=95,Phone->12345 678 9}}
How about the =E6=B5=8B=E8=AF=95
? A bug, or am I using this wrong?
You can get my .vcf
file from this link.
The ".vcf" file is my test file from a cellphone export. If you import that file into your cell phone you will get a number like this picture, and if we use Import
, the following answer is obtained:
{{NameLast -> =试, FormattedName -> ="I don't know this item", Phone -> 12345 678 9}}
Since @bill s mentioned that it could be a missing font issue, I made another test vcf file with only characters from the English alphabet. The output is normal this time.
{{"NameLast" -> "test name", "FormattedName" -> "test name","Phone" -> "12345 678 9"}}
So is the problem caused by the VCF file not being compatible with Chinese characters? How can we interpret =E6=B5=8B=E8=AF=95
to obtain the original Chinese characters?