From nobody Sun Feb 8 07:08:10 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1589893330; cv=none; d=zohomail.com; s=zohoarc; b=SmKaqECycAYKsd/sSgjaY2PecD3G+VcgFX6i3pH6RtaKcOu+zkdr7xXyCtR+q61y0bSPIPRuvyVDtconAATEeI5FLP8RoEoJGkR695fm0bnwE4Nn8glT90q+lR/1kvBkOPpFzP7CI2RR5ChmHm1wK24e8EAIOENAjOteuZzawu4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589893330; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=94G+zP7kClWF+hv+Ipgzlyi0toQ1bOHkSOvT73xXi+M=; b=NzqyMtQBYrhvF8o57jqnh2Q9fEp1R6WvQF396bUn1bfDl1zGnvX0qQxFYerlmwoFN1Vq9IQ4VL6+0zvadO3q3nvxQUvnkWdDBll4tbh8743B3l6lXGBNFrAAIUcxSZ3AqoLWDNflHUdltKL0AzDFea5EmjxeZLCPIzZiE52PvLE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1589893330029358.2350715477694; Tue, 19 May 2020 06:02:10 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-352-o0NclYKjNs6xv2s-Nzvc2A-1; Tue, 19 May 2020 09:02:03 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 99CDF193F75B; Tue, 19 May 2020 13:01:32 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 71BD71001925; Tue, 19 May 2020 13:01:32 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 3747A1809554; Tue, 19 May 2020 13:01:32 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 04JD1UP6023981 for ; Tue, 19 May 2020 09:01:30 -0400 Received: by smtp.corp.redhat.com (Postfix) id 493885D9E4; Tue, 19 May 2020 13:01:30 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.36.110.54]) by smtp.corp.redhat.com (Postfix) with ESMTP id 01CDD5D9C5; Tue, 19 May 2020 13:01:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589893328; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=94G+zP7kClWF+hv+Ipgzlyi0toQ1bOHkSOvT73xXi+M=; b=TrajPJEBxStVv8Tn0PiHDPFow2M2AbtA+ObOG8gX/R4truessE1oH4/mTr5ObQx0owt4oH kfL8N6i1J8nkn6cTMxjSt7P1POE45lAnvaf6AaKcyXCFp0HQ3lBtKLF/XRI58T+YMO/xAF 2/oqBuINTxaEiJtCa8sG6oUYYhwKmxM= X-MC-Unique: o0NclYKjNs6xv2s-Nzvc2A-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 1/4] scripts: use UTF-8 for API XML files Date: Tue, 19 May 2020 14:01:16 +0100 Message-Id: <20200519130119.2149052-2-berrange@redhat.com> In-Reply-To: <20200519130119.2149052-1-berrange@redhat.com> References: <20200519130119.2149052-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The build system will be running in UTF-8 locale, so any content in the API XML files will also end up being UTF-8, not ISO-8859-1. Signed-off-by: Daniel P. Berrang=C3=A9 --- scripts/apibuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apibuild.py b/scripts/apibuild.py index 05a169c30d..b13b5db644 100755 --- a/scripts/apibuild.py +++ b/scripts/apibuild.py @@ -2333,7 +2333,7 @@ class docBuilder: if not quiet: print("Saving XML description %s" % (filename)) output =3D open(filename, "w") - output.write('\n') + output.write('\n') output.write("\n" % self.name) output.write(" \n") headers =3D sorted(self.headers.keys()) --=20 2.26.2