From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: opening files with unicode characters in the file name on windows Date: 03 Aug 2004 08:32:15 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <410E6877.7010001@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1091515017 23623 80.91.224.253 (3 Aug 2004 06:36:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Aug 2004 06:36:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 03 08:36:50 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Brsuo-00021d-00 for ; Tue, 03 Aug 2004 08:36:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BrsyE-0006sZ-9r for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Aug 2004 02:40:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!colt.net!peernews3.colt.net!news0.de.colt.net!news-fra1.dfn.de!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-X-Trace: news.uni-berlin.de bHMzHPu3yomHZCo9jdnLswSq1Bjj543XmOPMrzzw5yNFeYh6vg User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:124622 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19955 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19955 Kevin Rodgers writes: > > I'm cannot get emacs to open up a file that has a file name > > with unicode characters in it. I have created these file > > names by copy-paste from the Character Map tool in > > Windows. As Emacs has good suupport for reading "unicode > > formats" like UTF-8, UTF-16 etc it is a pity that it cannot > > open these files. > Does (setq file-name-coding-system 'utf-8) help? No, even though it was a very interesting option. When I set that variable I can *save* files and the file names looks very cryptic in explorer.exe, probably because Windows use UTF-16, but when I set the variable to UTF-16, emacs seems to lock up and I have to press C-g almost the whole time, VERY strange... Anyway, if I used UTF-8 and saved a file containing swedish characters, this file was visible with correct characters in for examle dired, and Windows saw then as garbage. Is UTF-16 not supported in this case or do I have an emacs that is buggy (I'm using CVS stuff after all)?