Re: [rfc-i] Representing Unicode in a draft

Henrik Levkowetz <henrik@levkowetz.com> Fri, 17 January 2020 17:35 UTC

Return-Path: <rfc-interest-bounces@rfc-editor.org>
X-Original-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Delivered-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C24D712007A for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Fri, 17 Jan 2020 09:35:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.951
X-Spam-Level:
X-Spam-Status: No, score=-4.951 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U3KadnZLyekn for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Fri, 17 Jan 2020 09:35:42 -0800 (PST)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7100D120043 for <rfc-interest-archive-eekabaiReiB1@ietf.org>; Fri, 17 Jan 2020 09:35:42 -0800 (PST)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 71C92F40741; Fri, 17 Jan 2020 09:35:37 -0800 (PST)
X-Original-To: rfc-interest@rfc-editor.org
Delivered-To: rfc-interest@rfc-editor.org
Received: from localhost (localhost [127.0.0.1]) by rfc-editor.org (Postfix) with ESMTP id 1F042F40741 for <rfc-interest@rfc-editor.org>; Fri, 17 Jan 2020 09:35:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Received: from rfc-editor.org ([127.0.0.1]) by localhost (rfcpa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZK9RPI6c4GOU for <rfc-interest@rfc-editor.org>; Fri, 17 Jan 2020 09:35:33 -0800 (PST)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [64.170.98.42]) by rfc-editor.org (Postfix) with ESMTPS id 04F3EF4073F for <rfc-interest@rfc-editor.org>; Fri, 17 Jan 2020 09:35:32 -0800 (PST)
Received: from h-202-242.a357.priv.bahnhof.se ([158.174.202.242]:61275 helo=tannat.localdomain) by zinfandel.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1isVWu-0006Sr-PR; Fri, 17 Jan 2020 09:35:35 -0800
To: Mario Loffredo <mario.loffredo@iit.cnr.it>, rfc-interest@rfc-editor.org
References: <2aba6ec9-622a-69f2-f0fc-4d6a33eeadac@iit.cnr.it>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <e2aff671-2f10-376c-f208-329bdbb7b981@levkowetz.com>
Date: Fri, 17 Jan 2020 18:35:25 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <2aba6ec9-622a-69f2-f0fc-4d6a33eeadac@iit.cnr.it>
X-SA-Exim-Connect-IP: 158.174.202.242
X-SA-Exim-Rcpt-To: rfc-interest@rfc-editor.org, mario.loffredo@iit.cnr.it
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on zinfandel.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Subject: Re: [rfc-i] Representing Unicode in a draft
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://www.rfc-editor.org/mailman/options/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <http://www.rfc-editor.org/pipermail/rfc-interest/>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://www.rfc-editor.org/mailman/listinfo/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2840502317328914332=="
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

Hi Mario,

On 2020-01-17 15:21, Mario Loffredo wrote:
> Dear,
> 
> how can I represent Unicode characters in a draft written in XML?

It depends on what you want to express.  Depending on the use case, the
answer may be one of:

 - use the <u/> element
 - place them in <artwork/>
 - it cannot currently be done.

More on the options:

  https://www.rfc-editor.org/materials/FAQ-xml2rfcv3.html#name-how-do-i-insert-non-ascii-c
  https://tools.ietf.org/html/draft-levkowetz-xml2rfc-v3-implementation-notes-10#appendix-A.1

> I put them natively into an artwork/CDATA element but the PDF generated 
> by xml2rfc includes the corresponding code point values.

It sounds as if this should have worked; could you send me the xml file
that gave this result, please?


Regards,

	Henrik (xml2rfc maintainer)


> I donwloaded RFC7997.xml that represents Unicode strings in the same way 
> and converted it into PDF by xml2rfc v3 but the result is similar.
> 
> Is xml2rfc unable to convert Unicode characters or am I doing something 
> wrong?
> 
> Best regards,
> 
> Mario
> 
> 
> 
> 
> 
> _______________________________________________
> rfc-interest mailing list
> rfc-interest@rfc-editor.org
> https://www.rfc-editor.org/mailman/listinfo/rfc-interest
> 

_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://www.rfc-editor.org/mailman/listinfo/rfc-interest