From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 cIMiISEW72O3vgAAbAwnHQ (envelope-from ) for ; Fri, 17 Feb 2023 06:52:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +FlBISEW72ObGQAA9RJhRA (envelope-from ) for ; Fri, 17 Feb 2023 06:52:33 +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 D3D826CF9 for ; Fri, 17 Feb 2023 06:52:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSteo-0000hJ-VE; Fri, 17 Feb 2023 00:51:43 -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 1pSten-0000gf-Ip for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 00:51:41 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pStem-0003yK-2o for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 00:51:41 -0500 Received: by mail-wm1-x329.google.com with SMTP id u16so104580wml.5 for ; Thu, 16 Feb 2023 21:51:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:date:references:in-reply-to :subject:to:from:message-id:from:to:cc:subject:date:message-id :reply-to; bh=KneCkBINYD2llrvzN5puUj6NIwGFTM43kLDmTJoCmlA=; b=AYJxDuc+PaiSBPPWYZwC1syvcxR4W0aUqN5PaRGBbKqoksjw6Vw5qos1NobV4Mku8V B6NE+OPoyV3Oqiz+ddlcI7RRvNWDEiDvBvFls6E7I2A+S+jTKGRG/rRnU8PUtjQcsxmD a30EsWO5y6o1kH6MoBM2GH+Cvs4nsejrYwg7yoHhxYYJs/pjRVo3m78nzOmrxwYqoLTN hLgS8thxkYeOuRfWS93B1AZGYd06R5En4KrzzspQ6QiXWLIuJw1wqGOdVenJI6ctiu+k sP1+6UMTdYw+5GUpowFB7y7G6curlGH6xZSirNycSAE7YR2VBHVkzTRmV7KNBWDzzbds 3Mxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:date:references:in-reply-to :subject:to:from:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=KneCkBINYD2llrvzN5puUj6NIwGFTM43kLDmTJoCmlA=; b=Zeh1lYzpmaSSXZlyZNwrsnzs8i9g+mXApjiWMtd+vKjomqql9+IVlzLxpBMk4rZNGr v7eecFnazmOE1L6UeBY8F5BD3D4y5ifTSR2B9yDFf1M0D3R/7kaecvfbNuHdvJyQogz1 XyPtOENDQvlZ7rM5/NPuzKHkGwKTcNWGF0upWWMR6hcXQap//Eg1s9fY0dQc6bemhkh/ LAikhQ1WmWSl3lvnBpU2mL4UQCoKCuAS62zDecrAQO9v/uV4GPAgSXUxWFzlo4VpILY6 SJ4LLY5KywvzYk96wyP2mQxJ13i6Gg9WFZ7uSnWIsHm1hTDkKUajMec7dWwcJ3BoPtcD engw== X-Gm-Message-State: AO0yUKWIb71WYmW9qXdI9IhpyP8nYWETWBNehTOkjWhNt1Cgv6bTrPFi QUuS/MNfg4tFeD1C//bfgzU= X-Google-Smtp-Source: AK7set8uwnlgEoHpS4PLkiwpoVh94YQJyfRe4+1CjF8TOIupM6gD7kRROuyPvg/C9DgpLAKr+OpwmA== X-Received: by 2002:a05:600c:3506:b0:3df:e21f:d705 with SMTP id h6-20020a05600c350600b003dfe21fd705mr7286944wmq.28.1676613097799; Thu, 16 Feb 2023 21:51:37 -0800 (PST) Received: from keynux ([2a01:e0a:505:3460:169:7511:f49a:58eb]) by smtp.gmail.com with ESMTPSA id l14-20020adffe8e000000b002c561805a4csm3245960wrr.45.2023.02.16.21.51.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 21:51:37 -0800 (PST) Message-ID: <63ef15e9.df0a0220.8edda.8c58@mx.google.com> Received: by keynux (sSMTP sendmail emulation); Fri, 17 Feb 2023 06:51:35 +0100 From: Bruno Barbier To: Jens Lechtenboerger , emacs-orgmode@gnu.org Subject: Re: Unicode problem with export of literal contents In-Reply-To: <87zg9dx4yl.fsf@wi.uni-muenster.de> References: <87zg9dx4yl.fsf@wi.uni-muenster.de> Date: Fri, 17 Feb 2023 06:51:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=brubar.cs@gmail.com; helo=mail-wm1-x329.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: 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 ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AYJxDuc+; 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=1676613153; a=rsa-sha256; cv=none; b=E4R1cA9US9PBhkZ0dpHmYeWcDkJ2jffsyLZQ9UHfCA+J9qwr43VvAVMb7npf6Stv+I3Fr8 ZHZVfq9jr9bAutnffnveZu3rYUWhdjxqiZM5WtyMI/LiMH93dPPgl6n5SPYbe3/kDDkZ7t D4y/UoMH/G8bCY+TCY52gGDrjLj/VKYaxMCs5LpZ+OdR6OaSMv7J1+Sbq6DwkjmZ3PXMTe sOaW4Xw2ts4sAYd8nuVKRAfGOxDzO5Efc6Gfrfnb/R5u9L10noS61ANe3GNt4v6bLFhaWi n1A1M+AZDtX9w+3CImHwc2FRoUAps2Wfr4YJkpKK+O2Cvh1AeTfK33lBDhj3jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676613153; 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:dkim-signature; bh=KneCkBINYD2llrvzN5puUj6NIwGFTM43kLDmTJoCmlA=; b=k/1jGGb4dUt+4thsPXtAPqFeR52kL+5LMSZiXvPBKAx45dur8CWRSZANAv0FZpnneBNiFL tJ/J52bn85dmFERXwD3RevSHrj9gOpBRoXoHNhXlpOi4z6H82hWHuzgGK2dDM9pAiDQDXs xAs3jOyBk5vnQ3yaJTCq39J/rUsAf5xjE1CFuSCJh8QzBhcRJAS1KEcDFmVcmVV/oXeDif mJRGc78lEElB3/u/xmc8wvvsK+w/XkhkOI+iE99d9zABxAwBP+DFn8mIc2c16gLP3VprzG 1M4GUjCTK8hEjo1lrRnPqJ1ltn34pqdBtl8IRA5zOZU/9SDzL6UXzDt2UvTwJg== X-Migadu-Spam-Score: -7.08 X-Spam-Score: -7.08 X-Migadu-Queue-Id: D3D826CF9 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AYJxDuc+; 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 X-TUID: CE3uVyEwp0mu Hi Jens, Jens Lechtenboerger writes: > ... > Note that I insert contents literally because I do not want > =E2=80=98find-file-hook=E2=80=99, automatic uncompression, etc. (which ar= e avoided > according to the doc string of insert-file-contents-literally). > > Could the old behavior be restored? By using `insert-file-contents-literally' (as opposed to `insert-file-contents'), you're also forbidding Emacs to decode the binary content of your file into text. My guess is that it was working by chance in previous versions. In case somebody might help you, here is a simple way to trigger the encoding question with a recent version of org (mine is Org mode version 9.= 6.1). (with-temp-buffer (insert "Lechtenb\303\266rger") (org-mode)) Bruno