Subject: bug#4151: non-utf locale leads to errors in `decode-coding-region' (dired)

From: Kenichi Handa <[email-masked]>
Date: Tue, 18 Aug 2009 11:28:12 +0900

In article <[email-masked]>, David Reitter <[email-masked]> writes:

> With
> export LANG=de_DE.ISO8859-15

> on a Mac (NS port), and a directory that contains a folder named  
> "Tätää"(i.e. a German umlaut), viewing the directory with `dired'  
> fails with an error message.  The trace is below.

> The bugs here are
> 1. `decode-coding-region' signals an error (it is not documented to do  
> so)

I think it's a bug of ns-utf8-nfd-post-read-conversion that
is set for :post-read-conversion of utf-8-nfd.  Anyone who
wrote it please work on this bug.

> 2. with this locale, "ls -la" will not output utf-8-nfd, even though  
> it seems that we expect this.

Please find why default-file-name-coding-system (or
file-name-coding-system) is set to ntf-8-nfd.

---
Kenichi Handa
[email-masked]