目前已经基本弄懂了vCard大部分域的解析,但是ADR;HOME;这个域后面为什么会有一个回车让我非常不解,也为我的代码带来的很大的难度,希望高手们能帮忙解决一下,谢谢!
vCard源文件是这样的:
BEGIN:VCARD
VERSION:2.1
REV:2010-10-27 13:24:02
N;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=46=20=59;
ORG;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=47=4F=4E=47=53=49=4D=49=4E=47=43=48=45=4E=47;=62=75=6D=65=6E
ADR;HOME;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=
YOUZHENGEMAIL;=59=41=4E=53=48=45=4E=41=44=44=52=45=53=53;=4C=55;=43=49=54=59;=53=48=45=4E=47;462000;=47=55=4F=4A=49=41ADR;WORK;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=
;=74=6F=6E=67=78=75=6E=64=69=7A=68=69;;;;100001;
TITLE;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=54=49=54=4C=45
BDAY:1987-03-25
NOTE;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=4E=4F=54=45
TEL;HOME;VOICE:05460546
TEL;WORK;CELL:010136
TEL;HOME;CELL:0546138
EMAIL;INTERNET:dianzi@email
TEL;VOICE:01088888888
TEL;CELL:13426447552
TEL;VOICE:056755555555
TEL;WORK;VOICE:010010
EMAIL;INTERNET;HOME:q2@q
EMAIL;INTERNET;WORK:q1@q
TEL;FAX;WORK:999
URL;HOME:www.hh.com
END:VCARD
------解决方案--------------------
真复杂呀。