From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0C4rF0y472PXaAAAbAwnHQ (envelope-from ) for ; Fri, 17 Feb 2023 18:24:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4D8FF0y472NQEwAAauVa8A (envelope-from ) for ; Fri, 17 Feb 2023 18:24:28 +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 2AE6A2B896 for ; Fri, 17 Feb 2023 18:24:28 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Iw59GcNm; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676654668; a=rsa-sha256; cv=none; b=ggorj0ZXdEN/pYzJt+C6BaklEfxQirgWYS/sSLue6Wxffa4KGjBqfHXhE0qeetkz8SWU77 LDGZJ28Pb1b1xhfkZ8ZuGFn/fFmXXqcbVtxC5x2ciYSCkKJCfZsNer6brvUttQK69NsjYh B0LnAtYvvyQeGiBpXII41s1vL4zqGqLivP7Aw4H2tADZdPwlLjxyajqgz2E3vpgmuF2CeI cXNGMlHakdbRdmA8yghngRkaBOpUmNQj0d1Q9GO9RWYxGkdhdXWwiwok5IRIUyqEyF0cDS msxDO8vE7RKfuRRe2G+6sWyrR1HO1RWnac4a2Y0wMdczHJN/ofmFDn2NBOK3Wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Iw59GcNm; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676654668; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SE+9eaLhq2UrkureG22eL6Q42zEy0RooNwRKZGcKACQ=; b=J05FM/jMSHfFpl53VwjUdb7FH4xOKotkSlgVkaW4rAmQk/pEY0F+g94/j8fO28WPf7lVyR gAecqNUjrO0ECTuFyKfLZFdMfjdv/78mWvDI9dYPzjlyLbJd8Y+OkCtWgeZzw/kaOWaWIX IluFYlCHj+/m+i+qP6S7KIAyaW2EyNddE+IOmFgKRj4pzY7STdQ8JEXIccK9hbe6sBDPLG SCt7quUXG3wj1D2Rm/lu3zrBDW/C8XEWslk2G/Bth0Srt6ucnKjshOBmVX9u7hJB3Y9khR nuQoL5EMWvaqKLBb//pusHcSJtJMpopQzCFM1cByfj3SobSKp8rxvZQbUwRS+w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT4SK-00044g-I5; Fri, 17 Feb 2023 12:23:32 -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 1pT4SJ-00044Y-Jg for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 12:23:31 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pT4SI-0008Aw-3N for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 12:23:31 -0500 Received: by mail-wm1-x32e.google.com with SMTP id bg25-20020a05600c3c9900b003e21af96703so884608wmb.2 for ; Fri, 17 Feb 2023 09:23:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:date:references:in-reply-to:subject:cc:to:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=SE+9eaLhq2UrkureG22eL6Q42zEy0RooNwRKZGcKACQ=; b=Iw59GcNmS5DmSX/D03ZxNAb2kxBvrlEF6X6J8n5akYhBB3tOU1h5M1Zi0rxqpmEJnS DLJOxvrfkD9LCVMc/+jAezBqzAKqZFOtCdPfQnwIJFVmI8FiGhgjyLEYuK04X8XQ2NDm 5YVbomw1p6iBnN7RxLiswcpyo4Lx7dWt9nQ8mHGD/qOlEybt+ohFo0Lt1Raq/9dLL6Hf 6x00gCQYh4f7JjYTDY9/batXxvPkE2Ntrd9oMjAPxd4y4sTEeVi3Va0RfMg/ynBuAMXd WHTKg9sFOZ2NwWuq6iMhvqmWTFMmmdKlncuSX3k/tWxU7c7Lx7pf6pL8Wk08m9US2B9e A0Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:date:references:in-reply-to:subject:cc:to:from :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SE+9eaLhq2UrkureG22eL6Q42zEy0RooNwRKZGcKACQ=; b=eZM9G9ss2U4yfMjbf6nk7o7phLytFCbrfdt60FjU3+A8uAN+b3Ntet+anTKCOUv1L3 5OLTW2lbpsmtw8YXEIyCedngok4XBW4u9KNhohGRwbd+0kc7fGZWFGgz+uC5lsIr66mL BKHkMA2UZP6CLOVvMj297txkjy9zX8LhQ4k6fWnG/i929HSFJ5ZAWE7qF5cS9QJ4Hbbb IqZMA8V4Dw2kdvYGBp6sja67TN65WbTU+M40TwX8gJvdH8T4dcQHRaW5Ka64ZFnyfrSG JSWBrSgB3auCE/lDKHBDaLV/y1MAjihzPEdABC0pwBwXuEip7hQR50uBe2uNOJ6VqpGR b1Nw== X-Gm-Message-State: AO0yUKVJWf1me5AnJKO9tlkuD/Tufq0bNkcXvoDwP5KaFSu7/UR8DdHZ uvnciHVCSDz36HmW0yWMBdA= X-Google-Smtp-Source: AK7set99JyGMFwcBejVHDXXvce3BMQOek3JiZ/U9+y6tIaCg7qlbt/P1/j4Wp49WPmGTsPZ4Xswmqg== X-Received: by 2002:a05:600c:a29e:b0:3d2:3be4:2d9a with SMTP id hu30-20020a05600ca29e00b003d23be42d9amr951519wmb.20.1676654607350; Fri, 17 Feb 2023 09:23:27 -0800 (PST) Received: from keynux ([2a01:e0a:505:3460:169:7511:f49a:58eb]) by smtp.gmail.com with ESMTPSA id n24-20020a7bcbd8000000b003dc4aae4739sm1255914wmi.27.2023.02.17.09.23.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:23:26 -0800 (PST) Message-ID: <63efb80e.7b0a0220.bb35b.4ae2@mx.google.com> Received: by keynux (sSMTP sendmail emulation); Fri, 17 Feb 2023 18:23:25 +0100 From: Bruno Barbier To: Jens Lechtenboerger , Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: Unicode problem with export of literal contents In-Reply-To: <87sff4nscd.fsf@wi.uni-muenster.de> References: <87zg9dx4yl.fsf@wi.uni-muenster.de> <87cz68d06x.fsf@localhost> <87sff4nscd.fsf@wi.uni-muenster.de> Date: Fri, 17 Feb 2023 18:23:25 +0100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=brubar.cs@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: List-Post: X-Migadu-Queue-Id: 2AE6A2B896 X-Spam-Score: -11.34 X-Migadu-Spam-Score: -11.34 X-Migadu-Scanner: scn0.migadu.com 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-Flow: FLOW_IN X-Migadu-Country: US X-TUID: AzYbj9VNsWUI Jens Lechtenboerger writes: > On 2023-02-17, Ihor Radchenko wrote: > >> Jens Lechtenboerger writes: >> > >> Not a bug. You need to fix your files with improper encoding. > > The file has the proper encoding. I insert literally on purpose as > stated above. IIUC, the file has the proper encoding. But, when loading it with `insert-file-contents-literally', it doesn't: that's part of the "literally" feature I guess. When loading it with `insert-file-contents', it should work (it does in my case). Here is a way to reproduce that doesn't use org, in case it might help to manully fix your encoding issue: (with-temp-buffer (insert "Lechtenb\303\266rger") (let ((buffer-file-name (make-temp-file "mailtest"))) (save-buffer))) Does it work with your old config (with your old org) ? What kind of failure do you get elsewhere if you let Emacs use the correct encoding (i.e. if you use `insert-file-contents') ? Bruno