From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Simen =?UTF-8?Q?Endsj=C3=B8?= Newsgroups: gmane.emacs.bugs Subject: bug#70914: 29.3; Crashes often on Windows Date: Wed, 15 May 2024 15:50:10 +0200 Message-ID: References: <86msouxamh.fsf@gnu.org> <86h6f0wsbv.fsf@gnu.org> <864jb0wp7p.fsf@gnu.org> <86zfssv5mq.fsf@gnu.org> <86r0e3tgn4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16325"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70914@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 15 15:52:20 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s7F3L-00042C-Ui for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 May 2024 15:52:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7F35-0005L7-Mg; Wed, 15 May 2024 09:52:03 -0400 Original-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 1s7F33-0005Kl-1F for bug-gnu-emacs@gnu.org; Wed, 15 May 2024 09:52:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s7F32-0004DD-OG for bug-gnu-emacs@gnu.org; Wed, 15 May 2024 09:52:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7F34-0001Va-Cm for bug-gnu-emacs@gnu.org; Wed, 15 May 2024 09:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simen =?UTF-8?Q?Endsj=C3=B8?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 May 2024 13:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70914 X-GNU-PR-Package: emacs Original-Received: via spool by 70914-submit@debbugs.gnu.org id=B70914.17157810905781 (code B ref 70914); Wed, 15 May 2024 13:52:02 +0000 Original-Received: (at 70914) by debbugs.gnu.org; 15 May 2024 13:51:30 +0000 Original-Received: from localhost ([127.0.0.1]:42251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7F2Y-0001VB-C3 for submit@debbugs.gnu.org; Wed, 15 May 2024 09:51:30 -0400 Original-Received: from mail-lj1-f171.google.com ([209.85.208.171]:44295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7F2X-0001V5-2V for 70914@debbugs.gnu.org; Wed, 15 May 2024 09:51:29 -0400 Original-Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2e4b90b03a9so75841791fa.1 for <70914@debbugs.gnu.org>; Wed, 15 May 2024 06:51:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715781021; x=1716385821; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fNrm0mqK74rrUqZNYoZHblipj2HxK0ch0SYs7ZZTsWo=; b=aqNCN5NFcye30gnGXmE+EjlzbZTVqmFO8x3lNi1wrU44Jj062u7Rnaszzc+XHnmOzm fk+GGNa9XTXimPW37tLrfbVN4iFf4JPB9F3ygb653hryzWh36l9n+6UfTQxbSgMlqSJF C25K4s8DkfkmnFYefzfumjF9s71TVwCi02UibTFXprsNTpRWW7XaPpLoFXWtfpMm8fw7 ceSbyPT/t0ltMCruCpGVbtS98CQlJD3LBWjq7otrdMxZiyxjXR04l8C3k9fNQyd8lWX0 NsX6BZw3+DYHPTlVGU45dFkiv2aFSTYrFOkNLxQDiFW3PjTG2gDgrVC9sO/VIWc7MIxI ymXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715781021; x=1716385821; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fNrm0mqK74rrUqZNYoZHblipj2HxK0ch0SYs7ZZTsWo=; b=fX838zzgWf9At2Bt00UAYB7s4YH4a6mlUMgZLvN8UPQmQhYBa4FtiOmVOvBenNOE5v X54shjpMj8YjhYuYoeqAJvHEULa629cCOROiMKnBoeAm2hlY0ZKtz0kCrWvuenyhNmRQ 3BrZh6kxGAgPKCfrUq5y08P0nQ+h2AOsNNfvUaF0Gv1fKLU0o2u5k+DE9JUTaBvJ8ojI b31aa6MDacdnJlthl9NdB7QRlZalaPOIMrvpUPBrgZ0KsZAgV6uCWxh56EB5W8Epc8QI Q1bJ7u4GZTMYP9aB4nqAikSdk8kXY/ZuDRltPnZEypIsUe+nKsIuh1jfVf5fDtw3oNff YuQg== X-Gm-Message-State: AOJu0YzJaUdqGuUZwh4HEAe07MFkWee0bxBmTfLijwUUOa2oNpsO4v5h xYxiQJLoGj8VlSBR2nXF6991jii/Zb3eQgl4xMv6rktsmvNOE3WAhKs2O1XSt/fQrjF+zXi5A6K 4bm5yxe9Txorf6mZpNz4yhukWnkfZm6B13Wk= X-Google-Smtp-Source: AGHT+IHrJncuQ0a2e+sivmssmMVpIaBf60BKkO+86CCYoteQCx6mo1JLvpjTcivM5IEWYQCQ8HUsbOn67BN7tkGd5jA= X-Received: by 2002:a05:651c:2106:b0:2e1:a0d1:2c0 with SMTP id 38308e7fff4ca-2e51ff6668cmr117207321fa.28.1715781021054; Wed, 15 May 2024 06:50:21 -0700 (PDT) In-Reply-To: <86r0e3tgn4.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285086 Archived-At: >> I found another issue. My files are stored in UTF-8 also on Windows. >> Without setting Windows in the "Beta: Use UTF-8 everywhere", tools >> like ripgrep will somehow interpret the files as latin-1. So I cannot >> search for special characters in my language, and I even remember >> having crashes happening when searching documents which includes them. > > Not sure how this is related to Emacs. I only recommended not to > customize Emacs to use UTF-8 by default; I said nothing about ripgrep > or Windows in general. But it seems emacs (or something therein) interprets utf-8 as ascii. As sta= ted later, the `(prefer-coding-system 'utf-8)` resolves this. > You can keep your "Use UTF-8 everywhere" setting for Windows, just > don't customize the coding-systems in Emacs to use UTF-8 by default. > > Or what am I missing? I think `Use UTF-8 everywhere` will cause Windows to use UTF-8 rather than UTF-16 many places, so any assumptions that it uses UTF-16 will fail. But I might try to turn this on again to see if this helps. On Wed, May 15, 2024 at 2:16=E2=80=AFPM Eli Zaretskii wrote: > > > From: Simen Endsj=C3=B8 > > Date: Wed, 15 May 2024 13:19:53 +0200 > > Cc: 70914@debbugs.gnu.org > > > > I found another issue. My files are stored in UTF-8 also on Windows. > > Without setting Windows in the "Beta: Use UTF-8 everywhere", tools > > like ripgrep will somehow interpret the files as latin-1. So I cannot > > search for special characters in my language, and I even remember > > having crashes happening when searching documents which includes them. > > Not sure how this is related to Emacs. I only recommended not to > customize Emacs to use UTF-8 by default; I said nothing about ripgrep > or Windows in general. > > You can keep your "Use UTF-8 everywhere" setting for Windows, just > don't customize the coding-systems in Emacs to use UTF-8 by default. > > Or what am I missing?