From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: michal--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#75207: 29.4; Path conversion from native codepage to UTF-8 fails when Windows is set by default to UTF-8 Date: Mon, 30 Dec 2024 12:12:02 +0000 Message-ID: <000001db5ab4$06cec970$146c5c50$@0lock.xyz> Reply-To: michal@0lock.xyz 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="34697"; mail-complaints-to="usenet@ciao.gmane.io" To: 75207@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 30 19:30:49 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 1tSKXP-0008rg-65 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Dec 2024 19:30:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSKXC-0004vx-Dv; Mon, 30 Dec 2024 13:30:34 -0500 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 1tSKWr-0004q4-P6 for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 13:30:15 -0500 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 1tSKWh-0004V2-PU for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 13:30:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=ZvPWjQ/zAL73fSPc5zrZ9YyghnJJuMHTnvW6I5L42AU=; b=JR97SZHIfM5NgNqkoUAzFYQJrzhRHG5UdApAgTTNK/+RHmV7e2/Sy6HcM2p8YnoYhXWuRVlAE4rDzLUKNNHUI56lonBhkHGMx9Z+cRQsZwA15pADDC516JY6/C/AydsvAIB125CujEguJ6CXOJJe8ZsN7aK9DHwxsz2JKpy6gr1f+vrIirMEb2hTP5f8zygwbEEJ0BXkP/CytVOXoliNn7v+8Bpj4ur6keQhiEp+tipZ/TcSgGqe07Je0CXC3o7zznT+6TZruKHFkY/DUWYBe+o/VdMuZ+fkaV1U5/iNeB3f3PN1APGkLdZW553iOZ+SjM+0I6D6ESa+hjkXHLq6DA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSKWg-0008KG-Kl for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 13:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: michal@0lock.xyz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Dec 2024 18:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75207 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173558339431956 (code B ref -1); Mon, 30 Dec 2024 18:30:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Dec 2024 18:29:54 +0000 Original-Received: from localhost ([127.0.0.1]:59925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSKWV-0008JH-Va for submit@debbugs.gnu.org; Mon, 30 Dec 2024 13:29:54 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:57782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSEd8-000605-19 for submit@debbugs.gnu.org; Mon, 30 Dec 2024 07:12:18 -0500 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 1tSEd7-00067d-R0 for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 07:12:17 -0500 Original-Received: from mail-4022.proton.ch ([185.70.40.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSEd5-0003h0-1T for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 07:12:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0lock.xyz; s=protonmail; t=1735560725; x=1735819925; bh=ZvPWjQ/zAL73fSPc5zrZ9YyghnJJuMHTnvW6I5L42AU=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=IGsHo5FUeKzXllS7N571DeW8jZZR8S2EUC4MkPtwpuA75A/VA8TNXffemtIjrV8zu 5EepGU16yo6MxWUFwl9IX6nxWJVDHlNroJ/v6sIXPxFT+nu5KjmNUzV46C28L5KEgT a9UUg2CTU2REpj01D+G2holBGaEAJ6O+q09XlL+3/MXsmD6yi4o4okbYNc8GD9nYjz S6Ca5vSxFD17iuToBnJs1nhtdcrmSA1/h+Z1CtC6XbBrhcBKduuQQGDwIk9DAz6zZk qafkESZ1E5llUTyomX5oy8fk+eCFMJj1Xi/H/Kta/K3/lWkv/ds8wPNF7pPg30S9PW Hfmjh4EOUeNAg== Feedback-ID: 123495485:user:proton X-Pm-Message-ID: 3185ff365b2172afad6fad09e05542187796efc4 Received-SPF: pass client-ip=185.70.40.22; envelope-from=michal@0lock.xyz; helo=mail-4022.proton.ch X-Spam_score_int: 24 X-Spam_score: 2.4 X-Spam_bar: ++ X-Spam_report: (2.4 / 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, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.997, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 30 Dec 2024 13:29:50 -0500 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:298015 Archived-At: Emacs generates gibberish UTF-8 characters during conversion from native codepage to UTF-8 if experimental default UTF-8 codepage is set on Windows. In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-07-05 built on AVALON Windowing system distributor 'Microsoft Corp.', version 10.0.22631 System Description: Microsoft Windows 10 Education (v10.0.2009.22631.4602) Configured using: 'configure --with-modules --without-dbus --with-native-compilation=3Daot --without-compress-install --with-sqlite3 --with-tree-sitter CFLAGS=3D-O2' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB (NATIVE_COMP present but libgccjit not available) Important settings: value of $LANG: ENG locale-coding-system: cp65001 Major mode: recentf-dialog Minor modes in effect: global-company-mode: t company-mode: t nyan-mode: t fido-vertical-mode: t icomplete-vertical-mode: t icomplete-mode: t fido-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t recentf-mode: t global-display-fill-column-indicator-mode: t display-fill-column-indicator-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: c:/Users/Micha=C5=82/.emacs.d/elpa/transient-20241102.1229/transient hides = c:/Program Files/Emacs/emacs-29.4/share/emacs/29.4/lisp/transient c:/Users/Micha=C5=82/.emacs.d/elpa/standard-themes-2.1.0/theme-loaddefs hid= es c:/Program Files/Emacs/emacs-29.4/share/emacs/29.4/lisp/theme-loaddefs Features: (shadow sort mail-extr emacsbug message yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils eldoc-box high-theme company-oddmuse company-keywords company-etags etags fileloop generator xref project company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company nyan-mode icomplete display-line-numbers recentf tree-widget wid-edit easy-mmode display-fill-column-indicator jai-mode derived compile text-property-search comint ansi-osc ansi-color ring js c-ts-common treesit imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs theme-switcher finder-inf almost-mono-themes-autoloads auctex-autoloads tex-site centered-window-autoloads cmake-mode-autoloads company-autoloads dtrt-indent-autoloads editorconfig-autoloads eldoc-box-autoloads erlang-autoloads exec-path-from-shell-autoloads go-mode-autoloads gruber-darker-theme-autoloads haskell-mode-autoloads highlight-symbol-autoloads latex-preview-pane-autoloads magit-autoloads pcase magit-section-autoloads dash-autoloads markdown-mode-autoloads merlin-autoloads multiple-cursors-autoloads nyan-mode-autoloads powershell-autoloads projectile-autoloads rg-autoloads rust-mode-autoloads slime-autoloads macrostep-autoloads solarized-theme-autoloads standard-themes-autoloads swift-mode-autoloads transient-autoloads tuareg-autoloads rx caml-autoloads wgrep-autoloads white-sand-theme-autoloads with-editor-autoloads info compat-autoloads yasnippet-autoloads zig-mode-autoloads reformatter-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 185675 75051) (symbols 48 14661 7) (strings 32 55444 14585) (string-bytes 1 1821337) (vectors 16 27409) (vector-slots 8 520326 162526) (floats 8 83 1011) (intervals 56 494 150) (buffers 984 11))