From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cAncNkq2BGdKvwAAe85BDQ:P1 (envelope-from ) for ; Tue, 08 Oct 2024 04:34:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cAncNkq2BGdKvwAAe85BDQ (envelope-from ) for ; Tue, 08 Oct 2024 06:34:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuxteam.de header.s=mail header.b=GHuqikFu; 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=1728362058; a=rsa-sha256; cv=none; b=LtscnkxCubmmfXkig3GgxcimFJwv+slquma+uqg5qq5VtZ7VgEVskwYslRZXwtlGYQihp/ /EupBBxisp801K0R4GZrEIdIugGfVjPN8Bcw8aJVDpl797InlWCWuDlqZpDuw6WUJ2W56a GIKAcSxMqGKcoaLvk6Ke1Hrt7fMa/iS/00R5xWZq2TD766zXl1C+NViOoU6QpUG6hQzlTn yC/6pcfJHoqYesrwSxrHRD80G8zPWIWLEA5EtKiVY1hYQPACSBXkZNf4nuiCpUwyZKG5Tu oYnwzRLXztBy1S4mijDkjLtueT8vxnBDnpZSIaExKyic5ns0tfyTX86DuTJN/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuxteam.de header.s=mail header.b=GHuqikFu; 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=1728362058; 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=bq6Aicj/P7ZOYCm0AQYINOvqG9wryrP/DeIJp43NbfU=; b=RStKV7tLvTQdPY9PRpR+74c4quJoTaQom7sH4Sh4lAwpUz8dl/4DJ2X0XjKbBiNYhB0rwz ES2Ja8zZC+Manln51OLKb1veGR8hLXO4LlskfR1jlRdrszArZS/5uzdqyVWZ3vWI3+Vqmz Lhc6bcRn/LWmlPuzp9hhhquB5Aix4s1GWxl8p//lQdK2FIr/DvvLIBrFWE5BY1l+suS6hH iO8/v0ZL/dO1Con798hIAfew2QvRUzH/Z+n+TgzcsTjs8NW8QK5fQ2XrlmDccjgeKVDzsT ApVpP6coL4e1x8KnAeMfwLFdUJ/efh3yUlW6vsR4gB4cT/7jBSX/mg+24RG/jw== 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 67D6A812A7 for ; Tue, 08 Oct 2024 06:34:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sy1uT-000891-7x; Tue, 08 Oct 2024 00:33:21 -0400 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 1sy1uR-00088l-Lq for emacs-orgmode@gnu.org; Tue, 08 Oct 2024 00:33:19 -0400 Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sy1uP-0001F1-LL for emacs-orgmode@gnu.org; Tue, 08 Oct 2024 00:33:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=bq6Aicj/P7ZOYCm0AQYINOvqG9wryrP/DeIJp43NbfU=; b=GHuqikFuYkbF/kyLD105gWfI4Q l2AbJzJP/vBknMBAMl+w5bu8FgmoF5/8NQMKedC9x4coE4SMNRCInaHq1b6Kmgq2thXPAB+1XGCLm IBR7xbqWurcnWPJAFflsLre4Ue+rBCSTP5qKtty+eAgxbDlXemtwOC4L25FX/LFdkk1zYwgR5azgo xpHYKUL6kGfan4wepevYUWmaV2PZRmqyL6fqJ1n9ivAswxgmDI5OgPERo5yA5EEcss10HqQ265tXH i9+NeCUmDB9xGO2exfr0gWGvu1Ms5QltXVuUJ64fKRTKD8cxdCkuXr6fDcGSQynxQXbYXUn43Spxj 0ztCwZ5A==; Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1sy1uJ-0005JY-59; Tue, 08 Oct 2024 06:33:11 +0200 Date: Tue, 8 Oct 2024 06:33:11 +0200 To: Kepa Cc: Ihor Radchenko , "emacs-orgmode@gnu.org" Subject: Re: Problems inserting accentuated dates Message-ID: References: <172755588276.7.1895309935715089772.447565547@slmails.com> <87iku3oh71.fsf@localhost> <172833374924.7.13249580957886311512.456206710@slmails.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TUkxqtWZQPWn3tQV" Content-Disposition: inline In-Reply-To: <172833374924.7.13249580957886311512.456206710@slmails.com> From: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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 X-Migadu-Spam-Score: -0.65 X-Spam-Score: -0.65 X-Migadu-Queue-Id: 67D6A812A7 X-Migadu-Scanner: mx12.migadu.com X-TUID: P7XtnSq4XT2x --TUkxqtWZQPWn3tQV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 07, 2024 at 08:42:24PM +0000, Kepa wrote: > Hi, Ihor >=20 > Sorry I don't know how mail lists work, so sometimes my answers don't go = to the correct place. This seems to work fine :) > The cause was this line: > (setq locale-coding-system 'utf-8) > But I don't know why, and I would like to know. > https://lists.gnu.org/archive/html/emacs-orgmode/2024-09/msg00313.html OK. Asking Emacs, it tells us about the variable `locale-coding-system': locale-coding-system is a variable defined in =E2=80=98C source code=E2= =80=99. Its value is =E2=80=98utf-8-unix=E2=80=99 Coding system to use with system messages. Potentially also used for decoding keyboard input on X Windows, and is used for encoding standard output and error streams. Probably introduced at or before Emacs version 21.1. Now my questions to you: - this \341 thing happens directly when you enter =C3=A1? - you are using X on some operating system (e.g. Gnu/Linux, some BSD)? - if yes: go to a terminal (XTerm), type in "locale" and tell us what the output is. My guess is that your X (if you have one) is set up to trade in an unibyte encoding (most probably iso-8859-1 aka Latin-1) and you told Emacs to expect utf-8 (the iso-8859-1 encoding for "=C3=A1" is one byte represented in octal as 341 and an illegal byte in an UTF-8 stream: Emacs is smart enough to have a way to keep those internally, and that is how it shows them). But alas, my guesses aren't always right :) Cheers --=20 t --TUkxqtWZQPWn3tQV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZwS2AAAKCRAFyCz1etHa RityAJ9XAFPLAb+6lLcvzeSfHGygGz3lvwCcDMs3lP734iTArHc0wd/0VJAFgs8= =YHwR -----END PGP SIGNATURE----- --TUkxqtWZQPWn3tQV--