[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ISO-8859-1 encoded file names and UTF-8
From: |
Karl Eichwalder |
Subject: |
ISO-8859-1 encoded file names and UTF-8 |
Date: |
Sat, 08 Mar 2003 07:15:56 +0100 |
User-agent: |
Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (i686-pc-linux-gnu) |
UTF-8 Emacs sometimes fails to manage ISO-8859-1 file names. I do not
know how you can rename or convert these file name from ISO-8859-1 to
UTF-8 encoded names using Emacs.
I created some ISO-8859-1 encoded file names (on top of the ext2 file
system). Start a UTF-8 Emacs:
LANG=de_DE.UTF-8 emacs
Call dired on the directory containing these files; you will see
something like (attention, Emacs/Gnus will normalize the names when I
send the mail!):
/home/ke/Texte/wikipedia:
insgesamt 100
-rw-r--r-- 1 ke users 1291 2003-03-06 08:35 Brücke (Bauwerk)
drwxr-xr-x 2 ke users 4096 2003-03-07 22:29 CVS
-rw-r--r-- 1 ke users 5836 2003-03-07 07:38 Deutschland
-rw-r--r-- 1 ke users 1796 2003-03-07 20:44 Fürth (Bayern)
-rw-r--r-- 1 ke users 450 2003-03-07 22:28 Ludwigs-Kanal
-rw-r--r-- 1 ke users 259 2003-03-07 05:41 Malaiische Sprache
-rw-r--r-- 1 ke users 1584 2003-03-07 22:33 Malaysia
-rw-r--r-- 1 ke users 1266 2003-03-06 08:47 Malta
-rw-r--r-- 1 ke users 865 2003-03-06 21:24 Maltesische
Sprache
-rw-r--r-- 1 ke users 520 2003-03-05 23:22 Nördliches Sotho
-rw-r--r-- 1 ke users 1269 2003-03-07 20:04 Pegnitz (Fluss)
-rw-r--r-- 1 ke users 682 2003-03-07 20:58 Regnitz
-rw-r--r-- 1 ke users 668 2003-03-07 07:19 Rosmarin
-rw-r--r-- 1 ke users 593 2003-03-05 23:23 Sesotho
Note, the buffer is marked "-u" in the modeline.
Now go to a file name with umlauts and press 'f' to visit the file:
Debugger entered--Lisp error: (error "File no longer exists; type `g' to update
Dired buffer")
signal(error ("File no longer exists; type `g' to update Dired buffer"))
error("File no longer exists; type `g' to update Dired buffer")
dired-get-file-for-visit()
dired-find-file()
call-interactively(dired-find-file)
If you will need more info, please ask. I can also send a tar archive
containing those stupid file names.
--
address@hidden (work) / address@hidden (home): |
http://www.gnu.franken.de/ke/ | ,__o
Free Translation Project: | _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*)
- ISO-8859-1 encoded file names and UTF-8,
Karl Eichwalder <=
Re: ISO-8859-1 encoded file names and UTF-8, Kenichi Handa, 2003/03/19