bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4712: File encoding


From: Eli Zaretskii
Subject: bug#4712: File encoding
Date: Wed, 14 Oct 2009 10:04:19 -0400

> From: Stefan Monnier <address@hidden>
> Date: Wed, 14 Oct 2009 09:27:33 -0400
> Cc: address@hidden, Elmar Zander <address@hidden>,
>       address@hidden
> 
> > That means that the buffer contains characters that cannot be encoded in
> > iso-8859-1-unix.
> 
> Indeed, but the error message we output is completely unhelpful.
> Rather than select utf-8 and then complain that the tag doesn't match,
> we should say upfront, that the selected latin-1 can't encode all the
> chars in the buffer (and that message can come with the usual thingy
> that shows the offending chars and their location).

Maybe so, but this part of the OP's report:

  value of $LANG: en_AU.UTF-8
  locale-coding-system: utf-8

indicates that UTF-8 is the "native" encoding on the OP's machine, and
there is an overwhelming user demand for silently and transparently
switch to such a native encoding when we need to select an encoding.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]