From: Karl Eichwalder <keichwa@gmx.net>
Cc: emacs-devel@gnu.org
Subject: Re: cvs-quickdir and UTF-8 encoded file names
Date: Mon, 25 Aug 2003 06:16:19 +0200 [thread overview]
Message-ID: <shoeyefk30.fsf@tux.gnu.franken.de> (raw)
In-Reply-To: <200308250114.KAA16654@etlken.m17n.org> (Kenichi Handa's message of "Mon, 25 Aug 2003 10:14:16 +0900 (JST)")
Kenichi Handa <handa@m17n.org> writes:
> I found an invalid UTF-8 sequence at 279th line. It seems
> that the file name on this line is in ISO-8859-1, not UTF-8.
Thanks for tracking down my error; the file name on my disk is also
ISO-8859-1 encoded. I might have slipped in when I have started Emacs
within an ISO-8859-1 environment by accident.
> Thus, Emacs failed to detect it as utf-8, and decoded it by
> raw-text.
>
> Perhaps the file Entries should be read by:
>
> (let ((coding-system-for-read (or default-file-name-coding-system
> file-name-coding-system)))
> ...)
If it is possible to detect some such encoding mismatch, Emacs should
raise an exception telling the user the how to solve the problem:
Convert file name
Use raw text
Use UTF-8
Sorry, I cannot answer the other questions. Thanks again for your
help.
--
| ,__o
http://www.gnu.franken.de/ke/ | _-\_<,
ke@suse.de (work) / keichwa@gmx.net (home) | (*)/'(*)
prev parent reply other threads:[~2003-08-25 4:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-16 16:33 cvs-quickdir and UTF-8 encoded file names Karl Eichwalder
2003-08-21 1:36 ` Kenichi Handa
2003-08-21 4:47 ` Karl Eichwalder
2003-08-21 6:26 ` Kenichi Handa
[not found] ` <shada37yfp.fsf@tux.gnu.franken.de>
2003-08-25 1:14 ` Kenichi Handa
2003-08-25 4:16 ` Karl Eichwalder [this message]
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=shoeyefk30.fsf@tux.gnu.franken.de \
--to=keichwa@gmx.net \
--cc=emacs-devel@gnu.org \
/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.