[VCARDDAV] Internationalized email addresses in vCard 4.0

Simon Perreault <simon.perreault@viagenie.ca> Fri, 05 November 2010 13:55 UTC

Return-Path: <simon.perreault@viagenie.ca>
X-Original-To: vcarddav@core3.amsl.com
Delivered-To: vcarddav@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D6D103A693F; Fri, 5 Nov 2010 06:55:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.539
X-Spam-Level:
X-Spam-Status: No, score=-2.539 tagged_above=-999 required=5 tests=[AWL=0.061, BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hcf6VpwKkQE9; Fri, 5 Nov 2010 06:55:20 -0700 (PDT)
Received: from jazz.viagenie.ca (jazz.viagenie.ca [IPv6:2620:0:230:8000::2]) by core3.amsl.com (Postfix) with ESMTP id C856B3A694A; Fri, 5 Nov 2010 06:55:20 -0700 (PDT)
Received: from ringo.viagenie.ca (unknown [IPv6:2620:0:230:c000:b82a:d3a0:34a5:db78]) by jazz.viagenie.ca (Postfix) with ESMTPSA id 2C41720CF1; Fri, 5 Nov 2010 09:55:33 -0400 (EDT)
Message-ID: <4CD40CD4.3090503@viagenie.ca>
Date: Fri, 05 Nov 2010 09:55:32 -0400
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc14 Thunderbird/3.1.6
MIME-Version: 1.0
To: ima@ietf.org
X-Enigmail-Version: 1.1.2
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: vcarddav@ietf.org
Subject: [VCARDDAV] Internationalized email addresses in vCard 4.0
X-BeenThere: vcarddav@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF vcarddav wg mailing list <vcarddav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vcarddav>
List-Post: <mailto:vcarddav@ietf.org>
List-Help: <mailto:vcarddav-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Nov 2010 13:55:22 -0000

Hello,

We need some advice from the EAI working group.

vCard 4.0 is a file format for contact information. It's a textual
format and its character set is always UTF-8. One of the information
items it may contain is email addresses. See here:
http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-13#section-6.4.2

Basically to list an email address in a vCard you will have a line
looking like this:

EMAIL:jdoe@example.com

The ABNF for what comes after the colon is "addr-spec", which is defined
in RFC 5322, section 3.4.1.

Now, addr-spec does not allow full Unicode. An internationalized address
would need to be EAI/IDN-encoded, which implies that a vCard app would
need to decode it to display it to a user.

Questions:
- Is this the right way to do it?
- Should we allow full Unicode, which removes the need for decoding from
the vCard app and adds the need for encoding in the MUA?
- Should both forms be possible, should one form be preferred over the
other, or should only one form be allowed?
- What should the ABNF look like for allowing Unicode characters in
email addresses?
- Would it help us in any way if we were to specify a mailto: URL instead?

Thanks,
Simon
-- 
NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca
STUN/TURN server        --> http://numb.viagenie.ca
vCard 4.0               --> http://www.vcarddav.org