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: 04 Aug 2004 10:42:34 +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 1091609290 640 80.91.224.253 (4 Aug 2004 08:48:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Aug 2004 08:48:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 04 10:48:02 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 1BsHRJ-0001vI-00 for ; Wed, 04 Aug 2004 10:48:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BsHUn-0000zL-Rp for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Aug 2004 04:51:37 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-X-Trace: news.uni-berlin.de iUuwWMPsqB0bXrOdvdcKkgUkpyRQuVAVVpDD7mGPV+lHYEuU1f User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:124646 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:19979 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19979 jasonr (Jason Rumney) @ f2s.com writes: > Mathias Dahl writes: > > > Hmm, ok. I will try that, I just have to figure out which > > code page I am currently using. Thanks for the tip, I will > > report back my findings here. > > Take a look at the value of locale-coding-system. That is the most > likely candidate for file-name-coding-system. I tried these now (I actually think they are the same): (setq file-name-coding-system 'cp1252) (setq file-name-coding-system 'windows-1252) And I cannot open the files with cyrillic or arabic or hebrew characters in them. I am almost convinced that Windows *do* encode them with UTF-16, but when I set UTF-16 as file-name-coding-system emacs freezes whatever I do and I have to keep pressing C-g to unfreeze it. :(