Re: [VCARDDAV] Questions about text handling in vCard 4.0 (rev 11)

Simon Perreault <> Mon, 05 July 2010 12:27 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id C74113A6896 for <>; Mon, 5 Jul 2010 05:27:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_50=0.001, NO_RELAYS=-0.001]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id lgG-wg8FMxNk for <>; Mon, 5 Jul 2010 05:27:57 -0700 (PDT)
Received: from (unknown [IPv6:2620:0:230:8000:226:55ff:fe57:14db]) by (Postfix) with ESMTP id B6EB83A684C for <>; Mon, 5 Jul 2010 05:27:57 -0700 (PDT)
Received: from (unknown [IPv6:2620:0:230:c000:c82e:8f87:99d9:d9dc]) by (Postfix) with ESMTPSA id A0CCC20E01 for <>; Mon, 5 Jul 2010 08:27:58 -0400 (EDT)
Message-ID: <>
Date: Mon, 05 Jul 2010 08:26:19 -0400
From: Simon Perreault <>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4
MIME-Version: 1.0
References: <>
In-Reply-To: <>
X-Enigmail-Version: 1.0.1
Content-Type: text/plain; charset="ISO-2022-JP"
Content-Transfer-Encoding: 7bit
Subject: Re: [VCARDDAV] Questions about text handling in vCard 4.0 (rev 11)
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF vcarddav wg mailing list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 05 Jul 2010 12:27:58 -0000

On 2010-07-04 23:49, Daisuke Miyakawa wrote:
> - how a receiver accept string with backslash which is not determined in
> the spec (e.g. How "\t\h\i\s\ \i\s\ \a\ \t\e\s\t\n" should be decoded if
> the receiver happened to see it?)

This means that the sender is buggy and is generating output with
undefined meaning. Whether and how the receiver could try to recover
from this output is also undefined.

> - how to handle invisible/control characters valid in Unicode (e.g. tab,
> full-width space used in Japanese, etc.) It can be held as is, but I
> think it might be better to encode it to something like \xXXXX only when
> it is not readable enough.

Disagree. All characters must be left as is except for the ones that
must be escaped.

> - How to handle ',', '\,', ';', and '\;' in X- properties (e.g.
> "X-EXTRA-SORT-STRING:This,is\, a\;test;\, isn't\;it?"). What to do when
> some sender wanted to use splitter (',' or ';') in vCard 4.0.

The rule for comma, backslash, and newline are global and apply
everywhere (see section 3.3). However, the rule for semicolon only
applies to some properties which use the semicolon as separator. It is
up to the people defining a particular X- property to decide whether
they want to use the semicolon as separator.

NAT64/DNS64 open-source -->
STUN/TURN server        -->
vCard 4.0               -->