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

Daisuke Miyakawa <d.miyakawa@gmail.com> Tue, 06 July 2010 14:54 UTC

Return-Path: <d.miyakawa@gmail.com>
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 8C52D3A67C2 for <vcarddav@core3.amsl.com>; Tue, 6 Jul 2010 07:54:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.391
X-Spam-Level:
X-Spam-Status: No, score=0.391 tagged_above=-999 required=5 tests=[AWL=1.236, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_BASE64_TEXT=1.753]
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 aM3xKcBEVu+G for <vcarddav@core3.amsl.com>; Tue, 6 Jul 2010 07:54:10 -0700 (PDT)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by core3.amsl.com (Postfix) with ESMTP id EEA6A3A6946 for <vcarddav@ietf.org>; Tue, 6 Jul 2010 07:54:09 -0700 (PDT)
Received: by gyh3 with SMTP id 3so3381285gyh.31 for <vcarddav@ietf.org>; Tue, 06 Jul 2010 07:54:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Z+KHSWhGbyIE7uEqjp/l9/Gza9dVhlDd+ndbI8LjP8o=; b=B90LSk12TTEEubSLYakpaQSNbWM4v+WmPXtZukKuGw+jPvg9HOFgQfWYamvscD/TLc bIMCrJchyRp/majH8EhSut9a8QMGKF92QSBByRYrsPDrwmzTToQn1+AWRgv/Mo7TwddL 2DNYap0t02A8+MO3fXt7Rwd3J5ypZireGGsKQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=DpvE8tHCpy8xmK7V/iGKg55hfqJghG7vuwpDuXbewWRnrv8vbxBdddF9s51vsud93D 06ECaWVjOpuYhtI67osYIW/OhKWBmzqtgaqpgCViAknWEAQp4dKp/ytlXb/J4nH+r3KR JhwDNIDtV9QuZkxL2J76QZWox1OFjo+Bi9fC4=
MIME-Version: 1.0
Received: by 10.90.73.18 with SMTP id v18mr3511405aga.59.1278428048303; Tue, 06 Jul 2010 07:54:08 -0700 (PDT)
Received: by 10.90.56.11 with HTTP; Tue, 6 Jul 2010 07:54:08 -0700 (PDT)
In-Reply-To: <4C333FE5.6010004@viagenie.ca>
References: <AANLkTik6O1nZvjdDRn1bdGb20xKbWJApIsnwfTJ8BbRa@mail.gmail.com> <4C31CF6B.9050500@viagenie.ca> <AANLkTimt74eL5nCfDFK2QgHggyL9qONlqAUDOWKjan-l@mail.gmail.com> <4C31DA5F.6030906@viagenie.ca> <AANLkTin2KEkx8wphdHhdQj2H9sY0VjR85JTsRjc7rJWr@mail.gmail.com> <4C3333A4.4000307@viagenie.ca> <AANLkTikGQf5yj_9TmjHIySqhuyoa-QIFLXZmqev6xFK4@mail.gmail.com> <4C333FE5.6010004@viagenie.ca>
Date: Tue, 06 Jul 2010 23:54:08 +0900
Message-ID: <AANLkTin6HWxlksKWyZLcYTRJPRoaCVbS_j8UNFyy1HLn@mail.gmail.com>
From: Daisuke Miyakawa <d.miyakawa@gmail.com>
To: Simon Perreault <simon.perreault@viagenie.ca>
Content-Type: multipart/alternative; boundary="00163630f413b0a852048ab93958"
Cc: vcarddav@ietf.org
Subject: Re: [VCARDDAV] Questions about text handling in vCard 4.0 (rev 11)
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: Tue, 06 Jul 2010 14:54:11 -0000

2010/7/6 Simon Perreault <simon.perreault@viagenie.ca>

> On 2010-07-06 10:25, Daisuke Miyakawa wrote:
> > One proposal I can do is that composer side are allowed (but not
> > recommended) to use the format only when they cannot emit the word (like
> > when users want to edit foreign friends name without an appropriate IME)
> > but know codepoint for that characters.
> > Receiver side MUST be able to decode \xNNNN to appropriate Unicode form.
> > This is a kind of dirty compromise but there's no technical difficulty
> > nor theoretically insufficiency. I suppose I can implement
> > sender/receiver easily.
>
> I think you are confusing encoding with how a particular implementation
> renders the text.



> It is perfectly fine for an implementation to render text as \xNNNN when
> e.g. a font is unavailable.
>
> It is also perfectly fine for an implementation to take \xNNNN as input.
>
> But what goes on the wire is pure UTF-8. How it gets rendered or how it
> is input by a user is completely irrelevant for the vCard data format.


Well, I think we should also take care of actual use cases vCard is treated
by users, not only from the view of purity of UTF-8. I know \xNNNN makes the
text dirtier.

This is my understanding: If we have contact application with 100%
capability, we don't need to take care of \xNNNN topic at all. But my
(short) experience tells me that, really often, I had to look at bare data
with emacs, vi, or notepad.
At that stage, adding \xNNNNNNNN is really practically useful fallback for
reading/editing the data.

Feel free to correct me. I know my saying is really biased toward "how it
can be implemented and be used",
not "how it should be written as a specification".

Thanks!



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



-- 
Daisuke Miyakawa (宮川大輔)
d.miyakawa@gmail.com