At 07:30 PM 5/30/2005, you wrote:
The vCard specification apparently supports escaping special characters (commas, semicolons) with a backslash, but the Address Book app doesn't seem to handle this properly. Is there a way to coax it into doing things correctly? If so, what am I missing? Thanks in advance.

I just sent a vCard with a name that had an embedded semicolon from my Treo 650 to my desktop email account using Versamail, and when I inspect the vCard file, I see:

BEGIN:VCARD
VERSION:2.1
X-PALM:4.0
N:Test\; One;
TEL;PREF;WORK;VOICE:800-XXX-XXXX
UID:2764164
END:VCARD

Here, the device is just using a backslash to escape the semicolon. When I sent that vCard back to the device, it accepted it without any problem. I did notice that the vCard handler in Versamail stripped out the semicolon, while the handler in the Contacts application handled it correctly and included it in the new entry. The handler in the Address Book application on my Tungsten C also handled the escaped semicolon correctly.

-- Ben Combee, Senior Software Engineer, palmOne, Inc.
   "Combee on Palm OS" weblog: http://palmos.combee.net/
   Developer Forum Archives:   http://news.palmos.com/read/all_forums/


--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to