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 20:15:25 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: 4712@emacsbugs.donarmstrong.com,  schwab@linux-m68k.org,  
> ezander@valkyrie.sc.cs.tu-bs.de
> Date: Wed, 14 Oct 2009 11:19:47 -0400
> 
> > 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.
> 
> The `coding' cookie trumps any such setting, since when we read the
> file, we will blindly obey the cookie without paying any attention to
> the user's locale.

Right, and we did:

  Selected encoding mule-utf-8-unix disagrees with iso-8859-1-unix specified by 
file contents.                                     
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Except that we probably do it only _after_ defaulting to UTF-8.






reply via email to

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