filtering out Ericsson noise in empty vCard address

Michael Wardle <[email protected]>
Newsgroups gmane.comp.gnome.apps.multisync.user
Message-ID <[email protected]>
Hi

My Sony Ericsson Z1010 seems to send empty addresses as a series of
empty address fields (title, company, street, city, state, zip, country)
separated by semi-colons, rather than as a completely empty string.

When this is imported into Evolution (and presumably other data
sinks/plugins), this shows up as a contact having an address consisting
of a number of empty lines with a comma separating the null city from
the null state+zip instead of a contact having no address.

I raise this here in case somebody is interested in filtering such empty
addresses, presumably replacing it with an entirely empty HOME address
field.

Sample vCard follows:
BEGIN:VCARD
VERSION:2.1
N:Test
FN:Test
EMAIL;INTERNET;PREF:[email protected]
TEL;CELL:+61400000000
ADR;HOME:;;;;;;
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:=0A=0A, =0A
X-IRMC-LUID:000000000353
END:VCARD

-- 
Michael Wardle <[email protected]>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.