From: Kenichi Handa <handa@m17n.org>
To: Peter Dyballa <Peter_Dyballa@Freenet.DE>
Cc: 4157@emacsbugs.donarmstrong.com
Subject: bug#4157: Re: bug#4157: 23.1.50; faulty character characterisation for ä
Date: Mon, 24 Aug 2009 21:22:20 +0900 [thread overview]
Message-ID: <E1MfYZ2-0006q1-W8@etlken> (raw)
In-Reply-To: <56EC0D72-D541-470F-9FAB-2F766BD45601@Freenet.DE> (message from Peter Dyballa on Mon, 24 Aug 2009 13:30:38 +0200)
In article <56EC0D72-D541-470F-9FAB-2F766BD45601@Freenet.DE>, Peter Dyballa <Peter_Dyballa@Freenet.DE> writes:
> I finally managed to build a stable GNU Emacs! In ISO Latin-9/ISO
> 8859-15 environment default-file-name-coding-system is utf-8 and file-
> name-coding-system in nil, local in each of the visited dired buffers
> (0 in mode-lines).
Ok, so dired is going to decode the output of ls by utf-8.
> So again I see the file names (almost) correctly
> (the composed characters are taken, as usual, from some arbitrary
> fonts) and the month date field as M\344r instead of Mär and the \344
> character (4194276, #o17777744, #x3fffe4), although part of ISO
> 8859-15, is supposed to be a raw byte and faultily declared as "not
> encodable by coding system iso-latin-9-unix."
No, Emacs just tries to encode \344 by utf-8 and correctly
declared that it is not encodable by utf-8.
In article <jwvfxbjb8t1.fsf-monnier+emacsbugreports@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca> writes:
> So my guess was right: ls's output uses utf-8 for the filenames, but
> latin-1 for the date...
I think that is your case (latin-9 instead of latin-1).
Stefan also wrotes:
> which is why it's difficult for dired to do the
> right thing (it's not impossible, of course, but it's more work and
> dired is currently not setup for that).
How about making dired decode the filename part by
file-name-coding-system and the rest part by
default-process-coding-system?
By the way,
> So again I see the file names (almost) correctly
> (the composed characters are taken, as usual, from some arbitrary
> fonts)
Please try to load ucs-normalize and set
file-name-coding-system to utf-8-hfs. You should see file
names correctly by precomposed characters as "ä".
---
Kenichi Handa
handa@m17n.org
next prev parent reply other threads:[~2009-08-24 12:22 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-16 2:19 bug#4157: 23.1.50; faulty character characterisation for ä Peter Dyballa
2009-08-18 1:09 ` Kenichi Handa
2009-08-18 13:40 ` Peter Dyballa
2009-08-19 0:23 ` bug#4157: " Kenichi Handa
2009-08-19 22:47 ` Peter Dyballa
2009-08-24 11:30 ` Peter Dyballa
2009-08-24 12:22 ` Kenichi Handa [this message]
2009-08-24 15:21 ` Peter Dyballa
2009-08-25 0:46 ` bug#4157: " Kenichi Handa
2009-08-25 7:51 ` Peter Dyballa
2009-08-25 22:19 ` Peter Dyballa
2009-08-27 6:52 ` bug#4157: " Kenichi Handa
2009-08-27 8:50 ` Peter Dyballa
2009-08-27 11:33 ` bug#4157: " Kenichi Handa
2009-08-27 12:38 ` Peter Dyballa
2009-08-28 19:27 ` Peter Dyballa
2009-08-31 21:11 ` Peter Dyballa
2009-09-01 0:04 ` Stefan Monnier
2009-09-04 0:58 ` Kenichi Handa
2009-08-22 4:09 ` Stefan Monnier
2009-08-22 8:50 ` Peter Dyballa
2009-08-23 1:49 ` Stefan Monnier
2009-08-23 9:57 ` Peter Dyballa
2019-10-09 14:29 ` Stefan Kangas
2019-10-09 18:48 ` Eli Zaretskii
2019-10-09 19:47 ` Stefan Monnier
2019-10-09 22:42 ` Peter Dyballa
2019-11-11 1:49 ` Stefan Kangas
2019-11-11 16:36 ` Peter Dyballa
2019-10-10 0:10 ` Stefan Kangas
2019-10-10 7:20 ` Eli Zaretskii
2019-10-10 10:36 ` Stefan Kangas
2019-10-10 11:20 ` Eli Zaretskii
2019-10-10 11:52 ` Stefan Kangas
2019-10-10 12:39 ` Stefan Kangas
2019-10-10 12:41 ` Stefan Kangas
2019-10-10 18:33 ` Peter Dyballa
2019-10-10 18:57 ` Eli Zaretskii
2019-10-10 21:07 ` Stefan Monnier
2019-10-11 13:33 ` Stefan Kangas
2019-10-11 7:10 ` Andreas Schwab
2019-10-11 7:23 ` Peter Dyballa
2019-10-10 8:15 ` Andreas Schwab
2019-10-10 12:54 ` Stefan Monnier
2019-10-10 13:12 ` Stefan Kangas
2019-11-17 20:58 ` Stefan Kangas
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1MfYZ2-0006q1-W8@etlken \
--to=handa@m17n.org \
--cc=4157@emacsbugs.donarmstrong.com \
--cc=Peter_Dyballa@Freenet.DE \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).