From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SDGjM+IJ7mOhIwEAbAwnHQ (envelope-from ) for ; Thu, 16 Feb 2023 11:48:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GMthM+IJ7mMk0QAAauVa8A (envelope-from ) for ; Thu, 16 Feb 2023 11:48:02 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7A8F3270D1 for ; Thu, 16 Feb 2023 11:48:02 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676544482; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Srgu1rMdc50ZGeKqBVih9VNLj/ZwCRAhv3jMmYT387o=; b=WrJvQrJMpSLsS3GQdX5U55gzWajE1vR1g69xGkXP0XvRlmUFDx7Ym7tOzAFht2noNIO5qh 8XsgAYohOEyRTcLy0CCUdmmtsFhA0ZyBAyWsvIYCY3IdmkDCfyd8hhVPp3XzgxiVZ2f09P uTkKYSY+b+L9y/ylCS1IpDy1dESJJMQBqcX4Zrq1LdSiP+mRDEMGv7qJAb471DlS/ghk74 lJLq9ZWh6mTbEtp0VH/Xw9Sxc4HoaoyP0s/6zcZhjGHDlZdB8h0t2ToQUZ78xFQ2623fgx a24oBwerNTHSLfYZVvpETujhmRxEMlrjJZpfguYtrC1W4kV17v+Z0lehTYoXzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676544482; a=rsa-sha256; cv=none; b=jgPSmvcViBicMEXi7Yt2RL44nJ0hrdaTO/KBnyEqt8mDa2uey7/Sf4Ihoi6wMOl+atntqz 9I7WfWi6aG8AiBfEnb3bz3F/jC06LyLjgjh/AQqneKlQc3gK0aB6AOAM3lS8PJd5mofZta qMM34pHOXZFvw4U7w9A9p+tJ6Myl/1KvecOuXwSy9LWGScxkWi4mYJLgWfy2UtHWs9qVav FEWy6PV2g03WqHgF+ui5L6EpTtesZCjqBlHDH6sFESn1wiUfnzi/pA+SN1NX/Tm14kcREb HI26N1tw68MC/byea1lYdSnY+lonL/xm4apnu0JrYghkHlRTKlu55ZTSKH+u4w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSbnG-0007WB-CO; Thu, 16 Feb 2023 05:47:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSbnE-0007Rv-DW for emacs-orgmode@gnu.org; Thu, 16 Feb 2023 05:47:12 -0500 Received: from udcm-wwu2.uni-muenster.de ([128.176.118.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSbnC-0000Sr-5t for emacs-orgmode@gnu.org; Thu, 16 Feb 2023 05:47:11 -0500 X-IronPort-AV: E=Sophos;i="5.97,302,1669071600"; d="scan'208";a="237746950" Received: from wiwi-ex-1.wiwi.uni-muenster.de (HELO mail.wiwi.uni-muenster.de) ([10.2.21.33]) by UDCM-RELAY2.UNI-MUENSTER.DE with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 16 Feb 2023 11:47:04 +0100 Received: from D-3170L03 (128.176.63.9) by WIWI-EX-1.WIWI.UNI-MUENSTER.DE (10.2.21.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Thu, 16 Feb 2023 11:47:03 +0100 From: Jens Lechtenboerger To: Subject: Unicode problem with export of literal contents User-Agent: Gnus/5.13 (Gnus v5.13) Mail-Followup-To: emacs-orgmode@gnu.org Date: Thu, 16 Feb 2023 11:46:58 +0100 Message-ID: <87zg9dx4yl.fsf@wi.uni-muenster.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [128.176.63.9] X-ClientProxiedBy: WIWI-EX-1.WIWI.UNI-MUENSTER.DE (10.2.21.33) To WIWI-EX-1.WIWI.UNI-MUENSTER.DE (10.2.21.33) Received-SPF: pass client-ip=128.176.118.28; envelope-from=Jens.Lechtenboerger@wi.uni-muenster.de; helo=UDCM-WWU2.UNI-MUENSTER.DE X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: X-Migadu-Queue-Id: 7A8F3270D1 X-Spam-Score: -2.72 X-Migadu-Spam-Score: -2.72 X-Migadu-Scanner: scn0.migadu.com List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: l8xRFFtdcXBi Hi there, consider this piece code, where unicode-file.org contains umlauts (say, just the word =E2=80=9CLechtenb=C3=B6rger=E2=80=9D): (org-export-string-as (with-temp-buffer (insert-file-contents-literally "unicode-file.org") (buffer-string)) 'html t) With Org 9.6.1 from Emacs master, I get the following warning, and I am asked to select a coding system: > These default coding systems were tried to encode the following > problematic characters in the buffer =E2=80=98 *temp*=E2=80=99: > ... With previous Org versions, this did not happen, export would just work. Note that I insert contents literally because I do not want =E2=80=98find-file-hook=E2=80=99, automatic uncompression, etc. (which are = avoided according to the doc string of insert-file-contents-literally). Could the old behavior be restored? Best wishes Jens