From unknown Sun Aug 10 07:13:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12807 <12807@debbugs.gnu.org> To: bug#12807 <12807@debbugs.gnu.org> Subject: Status: 24.2; Emacs cannot edit file with funny Unicode characters in the file name on Windows Reply-To: bug#12807 <12807@debbugs.gnu.org> Date: Sun, 10 Aug 2025 14:13:50 +0000 retitle 12807 24.2; Emacs cannot edit file with funny Unicode characters in= the file name on Windows reassign 12807 emacs,w32 submitter 12807 Nils G=C3=B6sche severity 12807 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 05 16:01:12 2012 Received: (at submit) by debbugs.gnu.org; 5 Nov 2012 21:01:12 +0000 Received: from localhost ([127.0.0.1]:51111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVTnE-0004ie-5F for submit@debbugs.gnu.org; Mon, 05 Nov 2012 16:01:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46054) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVThq-0004ZU-9I for submit@debbugs.gnu.org; Mon, 05 Nov 2012 15:55:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVTen-0001p8-Lk for submit@debbugs.gnu.org; Mon, 05 Nov 2012 15:52:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,BODY_8BITS, DEAR_SOMETHING,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:52658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVTen-0001ow-I4 for submit@debbugs.gnu.org; Mon, 05 Nov 2012 15:52:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVTem-0003fn-CQ for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 15:52:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVTel-0001oW-5w for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 15:52:28 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:51518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVTek-0001oJ-SH for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 15:52:27 -0500 Received: from DARKSTAR.cartan.de (pD9E1E599.dip.t-dialin.net [217.225.229.153]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MQOHk-1TuoZo3O0a-00UJcI; Mon, 05 Nov 2012 21:52:24 +0100 From: =?iso-8859-1?Q?Nils_G=F6sche?= To: bug-gnu-emacs@gnu.org Subject: 24.2; Emacs cannot edit file with funny Unicode characters in the file name on Windows Date: Mon, 05 Nov 2012 21:52:05 +0100 Message-ID: <84wqxzepsa.fsf@cartan.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V02:K0:bUUVPmhOMi/MRmoFe8GXXW8qnIVQ+0exL5tAqfWkkHG Sr0/4YFwnZUTqa5bhCk0VfNVhFyKyZalKpkh1JoNXa+K9oko9X NOlzq6JgssG553sarPRlaQwFt4x9XCPXHBC/qt1210rQ6kkMUo /DJM7BKoJEJXJXZP9y0Gi6SHtfoyMx9KmxLP0jNh9TEEZyLGkW bLd/nzr0qBl/VmCQCkNAjQYJ7qio4hKEfMOB408L5eHIre4Bno zvRJCgzJm1TITz2jqxxs0o2spQ4oHoJwoZnkoohLOc0lR6vKlS 93/uiSJXUFz+CW89tN2BMtBGdahOWSAi7PVehyWPEVzkJBHank PsrbQKOBhuKZ77vMySp0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 05 Nov 2012 16:01:10 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) Dear Sirs, I keep a bunch of text files on my Windows 7 desktop containing my thoughts about the solutions of chess problems I am trying to solve. Now, one of the= se problems was composed by a Russian. So, I named the file =D0=9A=D1=83=D0=B7= =D0=BE=D0=B2=D0=BA=D0=BE=D0=B2_L=C3=B6sung.txt: First the name of the Russian composer, then the German word for =C2=BBsolu= tion=C2=AB. However, when I tried to edit that file in Emacs, I only got error messages, probably because of the funny Unicode characters in the file name. (See bel= ow for the exact wording of the messages.) Another file with only English/German characters in the name, Thorton_L=C3=B6sung.txt, does not cause any trouble at all (oh, but it seem= s I misspelled the name, actually). (BTW, Notepad does not have any problems editing the same file. So, it is not some weird, OS-related problem, either). Regards, Nils G=C3=B6sche =3D=3D=3D=3D=3D=3D=3D=3D End of bug report=3D=3D=3D=3D=3D=3D In GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.6) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: en_US value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: DEU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: display-time-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-x=20 C-f d e s k K u s o w k o w _ L =C3=B6 s u n g . t=20 x t C-g C-x C-f=20 K u d e s k K u s o w=20 k o s w _ L =C3=B6 s u n g . t x t =20 b l a r k C-x C-s C-x k C-z =20 d x f o i p g d=20 o j g C-x C-s =20 C-x k y e s C-z =20 C-x C-s C-x C-s C-x=20 k C-z C-x k C-z =20 C-x k C-z C-x C-f d e s k k =20 F a r k=20 . C-x C-s C-x k y e s C-z=20 M-x M-x C-g M-x r e p o r Recent messages: Wrote c:/Users/cartan/Desktop/Thorton_L=C3=B6sung.txt Saving file c:/Users/cartan/Desktop/Thorton_L=C3=B6sung.txt... Wrote c:/Users/cartan/Desktop/Thorton_L=C3=B6sung.txt (New file) [2 times] Making completion list... Mark set Saving file c:/Users/cartan/Desktop/????????_L=C3=B6sung.txt... basic-save-buffer-2: Opening output file: invalid argument, c:/Users/cartan= /Desktop/????????_L=C3=B6sung.txt completing-read-default: Command attempted to use minibuffer while in minib= uffer Quit Quit Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-uti= ls mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu view eliserv doctor server time cl time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-li= sp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibe= tan thai tai-viet lao korean japanese hebrew greek romanian slovak czech europe= an ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help sim= ple abbrev minibuffer loaddefs button faces cus-face files text-properties over= lay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 05 16:51:45 2012 Received: (at 12807) by debbugs.gnu.org; 5 Nov 2012 21:51:45 +0000 Received: from localhost ([127.0.0.1]:51148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVUa8-0005tq-TX for submit@debbugs.gnu.org; Mon, 05 Nov 2012 16:51:45 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:63755) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVUa6-0005tg-4J for 12807@debbugs.gnu.org; Mon, 05 Nov 2012 16:51:43 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MD100300AW7V600@a-mtaout22.012.net.il> for 12807@debbugs.gnu.org; Mon, 05 Nov 2012 23:47:49 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MD10039NB7PPX60@a-mtaout22.012.net.il>; Mon, 05 Nov 2012 23:47:49 +0200 (IST) Date: Mon, 05 Nov 2012 23:47:45 +0200 From: Eli Zaretskii Subject: Re: bug#12807: 24.2; Emacs cannot edit file with funny Unicode characters in the file name on Windows In-reply-to: <84wqxzepsa.fsf@cartan.de> To: Nils =?utf-8?Q?G=C3=B6sche?= Message-id: <83mwyv3eny.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <84wqxzepsa.fsf@cartan.de> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Nils Gösche > Date: Mon, 05 Nov 2012 21:52:05 +0100 > > I keep a bunch of text files on my Windows 7 desktop containing my thoughts > about the solutions of chess problems I am trying to solve. Now, one of these > problems was composed by a Russian. So, I named the file Кузовков_Lösung.txt: > First the name of the Russian composer, then the German word for »solution«. > However, when I tried to edit that file in Emacs, I only got error messages, > probably because of the funny Unicode characters in the file name. (See below > for the exact wording of the messages.) > > Another file with only English/German characters in the name, > Thorton_Lösung.txt, does not cause any trouble at all (oh, but it seems I > misspelled the name, actually). [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 12807 Cc: 12807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Nils Gösche > Date: Mon, 05 Nov 2012 21:52:05 +0100 > > I keep a bunch of text files on my Windows 7 desktop containing my thoughts > about the solutions of chess problems I am trying to solve. Now, one of these > problems was composed by a Russian. So, I named the file Кузовков_Lösung.txt: > First the name of the Russian composer, then the German word for »solution«. > However, when I tried to edit that file in Emacs, I only got error messages, > probably because of the funny Unicode characters in the file name. (See below > for the exact wording of the messages.) > > Another file with only English/German characters in the name, > Thorton_Lösung.txt, does not cause any trouble at all (oh, but it seems I > misspelled the name, actually). [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] > From: Nils G=C3=B6sche > Date: Mon, 05 Nov 2012 21:52:05 +0100 >=20 > I keep a bunch of text files on my Windows 7 desktop containing my = thoughts > about the solutions of chess problems I am trying to solve. Now, on= e of these > problems was composed by a Russian. So, I named the file =D0=9A= =D1=83=D0=B7=D0=BE=D0=B2=D0=BA=D0=BE=D0=B2_L=C3=B6sung.txt: > First the name of the Russian composer, then the German word for = =C2=BBsolution=C2=AB. > However, when I tried to edit that file in Emacs, I only got error = messages, > probably because of the funny Unicode characters in the file name. = (See below > for the exact wording of the messages.) >=20 > Another file with only English/German characters in the name, > Thorton_L=C3=B6sung.txt, does not cause any trouble at all (oh, but= it seems I > misspelled the name, actually). Emacs on Windows currently supports only file names that can be expressed in the system codepage. So unless someone writes the code to support the Unicode APIs throughout, this limitation will remain for some time to come. Volunteers are welcome. > (BTW, Notepad does not have any problems editing the same file. So,= it is > not some weird, OS-related problem, either). Yes, but the Explorer and the Notepad are about the only programs tha= t do. Many others don't. Emacs is one of them. Sorry. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 05 17:09:11 2012 Received: (at 12807) by debbugs.gnu.org; 5 Nov 2012 22:09:11 +0000 Received: from localhost ([127.0.0.1]:51172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVUqz-0006JI-Tv for submit@debbugs.gnu.org; Mon, 05 Nov 2012 17:09:10 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:58879) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVUqx-0006J8-M7 for 12807@debbugs.gnu.org; Mon, 05 Nov 2012 17:09:08 -0500 Received: from Darkstar (pD9E1E599.dip.t-dialin.net [217.225.229.153]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0Li6Ap-1T1c2v3Itn-00n2iS; Mon, 05 Nov 2012 23:05:58 +0100 From: =?utf-8?Q?Nils_G=C3=B6sche?= To: "'Eli Zaretskii'" References: <84wqxzepsa.fsf@cartan.de> <83mwyv3eny.fsf@gnu.org> In-Reply-To: <83mwyv3eny.fsf@gnu.org> Subject: AW: bug#12807: 24.2; Emacs cannot edit file with funny Unicode characters in the file name on Windows Date: Mon, 5 Nov 2012 23:05:57 +0100 Message-ID: <001601cdbba1$bc4cf020$34e6d060$@de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac27n00FpqaW4sHwRKu7aSELo5RiMgAAMojQ Content-Language: de X-Provags-ID: V02:K0:jNhwQRttVXq2prQ4qveuHTWfbIH/5+jtxFnDOx5Gwuv QNVwGAYPoDs9zwLwwCsKk14q/Yz0pYsLt16+1BDaJHzN2/see3 3IizZ4X3kRCxKeLF1Zxz56If4d/6tPGp8sWiPPiyqdbOotYUJ1 VGsL8nD9MTb00V3wEIGekXMg+JmV2OKALO3BvgInWQz0jTzzsr xNrC4K5sleZRbtKdJXTVUF8ohDFu2xKF0+yddiJS8M6xjl96Pi EbDxAOZrMNJdbhDKgS48u/HnOALPuy6vdOQOvHkF1APINbu1s0 bVBrC2DnD4MZzslSwIuY41yW2wm8FKdD6KT/fNlRQUAuHqyl8w ELDn1RNDQHNlzXv7voUI= X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12807 Cc: 12807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) You wrote: > Emacs on Windows currently supports only file names that can be > expressed in the system codepage. So unless someone writes the code = to > support the Unicode APIs throughout, this limitation will remain for > some time to come. Volunteers are welcome. Subtle hint noted. Ok ok, I'll look into it. > > (BTW, Notepad does not have any problems editing the same file. So, > it > > is not some weird, OS-related problem, either). >=20 > Yes, but the Explorer and the Notepad are about the only programs that > do. Many others don't. Emacs is one of them. =C2=BBAbout the only=C2=AB is a bit of an exaggeration ;-) Anything = that is written in C# or Java shouldn't have that problem; or Common Lisp, come to think = of it. But yeah, back in the old days, pretty much nobody felt like using wchar_t instead of char everywhere in C. I didn't, either, back then. = (Not to mention that in the really old days, wchar_t didn't even exist ;-) I'll see what I can do. Regards, --=20 Nils G=C3=B6sche Don't ask for whom the tolls. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 05 17:22:43 2012 Received: (at control) by debbugs.gnu.org; 5 Nov 2012 22:22:43 +0000 Received: from localhost ([127.0.0.1]:51177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVV46-0006bi-WE for submit@debbugs.gnu.org; Mon, 05 Nov 2012 17:22:43 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:57743) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVV44-0006bb-Fl for control@debbugs.gnu.org; Mon, 05 Nov 2012 17:22:41 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TVV12-0006xA-Jb for control@debbugs.gnu.org; Mon, 05 Nov 2012 17:19:32 -0500 Date: Mon, 05 Nov 2012 17:19:32 -0500 Message-Id: Subject: control message for bug 12807 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) merge 7100 12807 From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 05 23:01:04 2012 Received: (at 12807) by debbugs.gnu.org; 6 Nov 2012 04:01:04 +0000 Received: from localhost ([127.0.0.1]:51396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVaLY-0006Zl-5d for submit@debbugs.gnu.org; Mon, 05 Nov 2012 23:01:04 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:36588) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVaLU-0006ZJ-JG for 12807@debbugs.gnu.org; Mon, 05 Nov 2012 23:01:02 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MD100700SBL6Y00@a-mtaout22.012.net.il> for 12807@debbugs.gnu.org; Tue, 06 Nov 2012 05:57:49 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MD10060CSCDX380@a-mtaout22.012.net.il>; Tue, 06 Nov 2012 05:57:49 +0200 (IST) Date: Tue, 06 Nov 2012 05:57:45 +0200 From: Eli Zaretskii Subject: Re: AW: bug#12807: 24.2; Emacs cannot edit file with funny Unicode characters in the file name on Windows In-reply-to: <001601cdbba1$bc4cf020$34e6d060$@de> To: Nils =?utf-8?Q?G=C3=B6sche?= Message-id: <83lief2xja.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <84wqxzepsa.fsf@cartan.de> <83mwyv3eny.fsf@gnu.org> <001601cdbba1$bc4cf020$34e6d060$@de> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Nils Gösche > Cc: <12807@debbugs.gnu.org> > Date: Mon, 5 Nov 2012 23:05:57 +0100 > > > Yes, but the Explorer and the Notepad are about the only programs that > > do. Many others don't. Emacs is one of them. > > »About the only« is a bit of an exaggeration ;-) Anything that is written > in C# or Java shouldn't have that problem; or Common Lisp, come to think of > it. But yeah, back in the old days, pretty much nobody felt like using > wchar_t instead of char everywhere in C. I didn't, either, back then. (Not > to mention that in the really old days, wchar_t didn't even exist ;-) [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 12807 Cc: 12807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Nils Gösche > Cc: <12807@debbugs.gnu.org> > Date: Mon, 5 Nov 2012 23:05:57 +0100 > > > Yes, but the Explorer and the Notepad are about the only programs that > > do. Many others don't. Emacs is one of them. > > »About the only« is a bit of an exaggeration ;-) Anything that is written > in C# or Java shouldn't have that problem; or Common Lisp, come to think of > it. But yeah, back in the old days, pretty much nobody felt like using > wchar_t instead of char everywhere in C. I didn't, either, back then. (Not > to mention that in the really old days, wchar_t didn't even exist ;-) [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4997] > From: Nils G=C3=B6sche > Cc: <12807@debbugs.gnu.org> > Date: Mon, 5 Nov 2012 23:05:57 +0100 >=20 > > Yes, but the Explorer and the Notepad are about the only programs= that > > do. Many others don't. Emacs is one of them. >=20 > =C2=BBAbout the only=C2=AB is a bit of an exaggeration ;-) Anythin= g that is written > in C# or Java shouldn't have that problem; or Common Lisp, come to = think of > it. But yeah, back in the old days, pretty much nobody felt like us= ing > wchar_t instead of char everywhere in C. I didn't, either, back the= n. (Not > to mention that in the really old days, wchar_t didn't even exist ;= -) Using wchar_t is not going to solve the whole problem, unfortunately. The problem is that the mainline Emacs code uses APIs that don't accept wide characters. Examples include 'stat', 'access', 'open', 'fopen', etc. To fix the problem, we'd need to provide our own implementation of these APIs that would accept a UTF-8 encoded file name, then re-encode the file name in UTF-16, and call the Unicode APIs as part of the implementation. This is a large job. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 01 15:16:55 2013 Received: (at control) by debbugs.gnu.org; 1 Sep 2013 19:16:55 +0000 Received: from localhost ([127.0.0.1]:35389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGD8p-0001qs-AN for submit@debbugs.gnu.org; Sun, 01 Sep 2013 15:16:55 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:62909) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGD8m-0001qc-AG; Sun, 01 Sep 2013 15:16:53 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MSG00200NSEJT00@a-mtaout20.012.net.il>; Sun, 01 Sep 2013 22:16:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MSG002WLO7XC670@a-mtaout20.012.net.il>; Sun, 01 Sep 2013 22:16:45 +0300 (IDT) Date: Sun, 01 Sep 2013 22:16:55 +0300 From: Eli Zaretskii Subject: Re: Processed (with 1 errors): Re: bug#15236: 24.3.50; Save file with Unicode chars in name on MS Windows replaces chars by SPCs In-reply-to: X-012-Sender: halo1@inter.net.il To: control@debbugs.gnu.org (GNU bug tracker automated control server) Message-id: <8361uke4ig.fsf@gnu.org> References: <837gf0e55d.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control Cc: tracker@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) severity 15236 wishlist merge 15236 7100 thanks From unknown Sun Aug 10 07:13:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 10 Jan 2014 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator