问题
通过PP助手导出通讯录,生成xxx.contacts
文件,直接用Notepad++
打开乱码
解决方法
可以把xxx.contacts
改名为xxx.contacts.zip
,然后用WinRAR
等解压缩工具打开,打开后里面有几个xxx.plist
文件(从Contacts_0.plist
到Contacts_7.plist
)。姓名和号码分别在Contacts_0.plist
和Contacts_2.plist
中(可以直接用Notepad++
打开):
Contacts_0.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<string>SDMessageProcessChanges</string>
<string>com.apple.Contacts</string>
<dict>
<key>10</key>
<dict>
<key>com.apple.syncservices.RecordEntityName</key>
<string>com.apple.contacts.Contact</string>
<key>display as company</key>
<string>person</string>
<key>last name</key>
<string>刘校</string>
</dict>
</dict>
<true/>
<string>___EmptyParameterString___</string>
</array>
</plist>
Contacts_2.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<string>SDMessageProcessChanges</string>
<string>com.apple.Contacts</string>
<dict>
<key>3/10/0</key>
<dict>
<key>value</key>
<string>13300001111</string>
<key>com.apple.syncservices.RecordEntityName</key>
<string>com.apple.contacts.Phone Number</string>
<key>type</key>
<string>home</string>
<key>contact</key>
<array>
<string>10</string>
</array>
</dict>
</dict>
<true/>
<string>___EmptyParameterString___</string>
</array>
</plist>
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。