[dev] Address Book Import again.

Michael Cochrane mike@graftonhall.co.nz
Tue, 28 Aug 2001 14:13:05 +1200


Yep, they were unicode... any conventions on how unicode characters should
be handled with Turba? at the moment i an changing them to html special
characters (&#xxxx; where xxxx is the character code in decimal) and they
are displaying fine in turba but this messes up searches.

I currently have an email field which is all the email addresses comma
separated which means no data is lost, this is stored in the "Email" field,
there is also a "Default Email" field so the user can map this to email if
they wish.

Also in turrba when you click on an email address it always composes in a
new window, and the popup code has issues when the email address field has a
comma in it.

I currently have 37 fields importing fine. The only known missing ones are
birthdate and anniversary.

http://www.graftonhall.co.nz/temp/wabstrip.php will display the wab file in
a table with all values shown. Source is also at that address.

Mike

----- Original Message -----
From: "Chuck Hagenbuch" <chuck@horde.org>
To: <dev@lists.horde.org>
Sent: Tuesday, August 28, 2001 8:02 AM
Subject: Re: [dev] Address Book Import again.


Quoting Michael Cochrane <mike@graftonhall.co.nz>:

> Two queries:
> 1. How should multiple email addresses for a contact be handled? Just take
> the first one? Add the contact multiple times with different email
address?
> Previous one but modifying the name to in "(default)" after the default
> email address? Any suggestions?

I'd vote for the first one, or just tossing them all into the one contact's
field...

> 2. Handling of address books in other languages - I'm not 100% on how non
> ascii charaters are encoded but it appears the characters are encoded into
a
> 16bit space. Any one have any clues or any websites that might help?

Sounds like unicode.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.

--
Horde Developers mailing list: http://horde.org/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@lists.horde.org