[VCARDDAV] Default charset
Cyrus Daboo <cyrus@daboo.name> Mon, 22 February 2010 14:56 UTC
Return-Path: <cyrus@daboo.name>
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 0828C28C1E9 for <vcarddav@core3.amsl.com>; Mon, 22 Feb 2010 06:56:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 btVdVE300SJ2 for <vcarddav@core3.amsl.com>; Mon, 22 Feb 2010 06:56:32 -0800 (PST)
Received: from daboo.name (daboo.name [151.201.22.177]) by core3.amsl.com (Postfix) with ESMTP id BE2643A8296 for <vcarddav@ietf.org>; Mon, 22 Feb 2010 06:56:31 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 3ECEBE3CB5F1 for <vcarddav@ietf.org>; Mon, 22 Feb 2010 09:58:27 -0500 (EST)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (chewy.mulberrymail.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v1mAIk1VQ64K for <vcarddav@ietf.org>; Mon, 22 Feb 2010 09:58:26 -0500 (EST)
Received: from caldav.corp.apple.com (unknown [17.101.32.44]) by daboo.name (Postfix) with ESMTPSA id B5B23E3CB5E5 for <vcarddav@ietf.org>; Mon, 22 Feb 2010 09:58:25 -0500 (EST)
Date: Mon, 22 Feb 2010 09:58:22 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: vcarddav@ietf.org
Message-ID: <C1BC44B4FBF6BE3AB2FC712D@caldav.corp.apple.com>
X-Mailer: Mulberry/4.1.0a1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size="1908"
Subject: [VCARDDAV] Default charset
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: Mon, 22 Feb 2010 14:56:33 -0000
Hi folks, I just came across the following link: <http://microformats.org/wiki/vcard-errata>. This claims that RFC2426 was wrong to remove the CHARSET parameter on properties (which I personally do not believe - and no formal IETF errata has ever been posted for that). Apparently some clients require CHARSET parameters on properties for VERSION:3.0 too: <http://help.wugnet.com/office/Outlook-vCard-UTF-ftopict1163209.html>. Clearly we need to clean up this mess. Now, the current 4.0 draft does state clearly that for a MIME object with a Content-Type header, the default charset is UTF-8 (Section 10.1) for the newly registered media type text/vcard. What it does not do is explain what charset to use for a "standalone" file (dealing with the microformats issue). iCalendar is explicit in stating that the default charset for an iCalendar object is UTF-8 (<http://tools.ietf.org/html/rfc5545> Section 3.1.4). I believe the 4.0 specification should be just as explicit about this. Proposed changes: - Add a new Section 3.4 with text matching that in RFC5545 Section 3.1.4: 3.4. Character Set There is not a property parameter to declare the charset used in a property value. The default charset for vCard data is UTF-8 as defined in [RFC3629]. The "charset" Content-Type parameter MUST be used in MIME transports to specify the charset being used. - First paragraph of Section 4.1 needs to be adjusted to remove reference to charset given the addition of Section 3.4 as above. - Add an "Internationalization Considerations" with text matching that in RFC5545 (note this may be stronger than we want in that it mandates use of utf-8 only): XX. Internationalization Considerations Applications MUST generate vCard data in the UTF-8 charset and MUST accept vCard data in the UTF-8 or US-ASCII charset. -- Cyrus Daboo
- [VCARDDAV] Default charset Cyrus Daboo
- Re: [VCARDDAV] Default charset Marc Blanchet
- Re: [VCARDDAV] Default charset Peter Saint-Andre
- Re: [VCARDDAV] Default charset Simon Perreault
- Re: [VCARDDAV] Default charset Alexey Melnikov
- Re: [VCARDDAV] Default charset Marc Blanchet
- Re: [VCARDDAV] Default charset Julian Reschke
- Re: [VCARDDAV] Default charset Peter Saint-Andre
- Re: [VCARDDAV] Default charset Cyrus Daboo
- Re: [VCARDDAV] Default charset Simon Perreault
- Re: [VCARDDAV] Default charset Peter Saint-Andre