From: Karl Eichwalder <keichwa@gmx.net>
Subject: ISO-8859-1 encoded file names and UTF-8
Date: Sat, 08 Mar 2003 07:15:56 +0100 [thread overview]
Message-ID: <shfzpy1izn.fsf@tux.gnu.franken.de> (raw)
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.
--
ke@suse.de (work) / keichwa@gmx.net (home): |
http://www.gnu.franken.de/ke/ | ,__o
Free Translation Project: | _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*)
next reply other threads:[~2003-03-08 6:15 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-08 6:15 Karl Eichwalder [this message]
2003-03-08 9:16 ` ISO-8859-1 encoded file names and UTF-8 Eli Zaretskii
2003-03-08 10:05 ` Karl Eichwalder
2003-03-08 17:06 ` Eli Zaretskii
2003-03-08 18:25 ` Karl Eichwalder
2003-03-08 22:35 ` Eli Zaretskii
2003-03-09 4:38 ` Karl Eichwalder
2003-03-19 13:33 ` Kenichi Handa
2003-03-19 16:15 ` Karl Eichwalder
2003-03-19 23:52 ` Kenichi Handa
2003-03-20 17:32 ` Karl Eichwalder
2003-03-21 6:01 ` Kenichi Handa
2003-03-21 19:53 ` Karl Eichwalder
2003-03-21 19:06 ` Richard Stallman
2003-03-20 8:46 ` Richard Stallman
2003-03-20 9:11 ` Kenichi Handa
2003-03-23 2:52 ` Richard Stallman
2003-03-24 0:28 ` Kenichi Handa
2003-03-24 19:27 ` Richard Stallman
2003-03-26 4:47 ` Kenichi Handa
2003-04-01 21:17 ` etags and UTF-8 encoded file names (Re: ISO-8859-1 encoded file names and UTF-8) Karl Eichwalder
2003-04-02 1:34 ` Kenichi Handa
2003-04-02 19:26 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=shfzpy1izn.fsf@tux.gnu.franken.de \
--to=keichwa@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.