From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Added support for Unicode file names on MS-Windows. Date: Thu, 12 Dec 2013 20:31:30 +0200 Message-ID: <8338lx7wfx.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1386873144 26522 80.91.229.3 (12 Dec 2013 18:32:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Dec 2013 18:32:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 12 19:32:29 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VrB3k-0007va-3X for ged-emacs-devel@m.gmane.org; Thu, 12 Dec 2013 19:32:28 +0100 Original-Received: from localhost ([::1]:38112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrB3j-0002xD-O5 for ged-emacs-devel@m.gmane.org; Thu, 12 Dec 2013 13:32:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrB3a-0002qH-Bz for emacs-devel@gnu.org; Thu, 12 Dec 2013 13:32:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrB3T-0003vd-3g for emacs-devel@gnu.org; Thu, 12 Dec 2013 13:32:18 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrB3S-0003vX-Rs for emacs-devel@gnu.org; Thu, 12 Dec 2013 13:32:11 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MXP00500I29TN00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Thu, 12 Dec 2013 20:31:30 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXP0050LI4HIEA0@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Thu, 12 Dec 2013 20:31:30 +0200 (IST) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:166346 Archived-At: Starting with trunk revision 115490, Emacs on Windows can access files whose names include characters outside of the current ANSI codepage. This has been the subject of several bug reports in the past. People who are interested in technical details are invited to read the large commentary around line 1300 in w32.c. In a nutshell, Emacs on MS-Windows now pretends that file names are encoded in UTF-8, and does whatever conversions are necessary in functions that replace or are wrappers around C library functions which accept file-name arguments. Please report any bugs these changes introduced. Many thanks to Ken Brown who generously used some of his time to find and report my bugs which would have otherwise broken the Cygwin build. Enjoy.