all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to keep character encoding in text file...
@ 2009-03-05 11:17 Marko Myllymaki
  2009-03-05 13:33 ` Pascal J. Bourguignon
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Marko Myllymaki @ 2009-03-05 11:17 UTC (permalink / raw)
  To: help-gnu-emacs

I usually work with UTF-8 encoded files and my system is set up for 
UTF-8 (text may be in english, finnish, swedish, german, russian...)

However, sometimes I edit latin1 -encoded files and I would like to have 
the encoding automatically kept that way when saving files. Now it seems 
to change unwantedly to UTF-8 sometimes... I have to use iconv command 
line tool to change this...

So... if I load UTF-8 encoded file, emacs always saves it that way. If I 
open latin1-encoded file, it should keep it in the original encoding.

Maybe something to put in .emacs to achieve this...


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-03-07  9:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 11:17 How to keep character encoding in text file Marko Myllymaki
2009-03-05 13:33 ` Pascal J. Bourguignon
2009-03-06  7:54   ` Marko Myllymaki
2009-03-05 18:50 ` Eli Zaretskii
     [not found] ` <mailman.2443.1236279043.31690.help-gnu-emacs@gnu.org>
2009-03-06  7:39   ` Marko Myllymaki
2009-03-06  8:21     ` Pascal J. Bourguignon
2009-03-06  9:44       ` Peter Dyballa
2009-03-06 10:13         ` Nikolaj Schumacher
     [not found]       ` <mailman.2491.1236332716.31690.help-gnu-emacs@gnu.org>
2009-03-06 10:12         ` Pascal J. Bourguignon
2009-03-06 10:57       ` Peter Dyballa
     [not found]       ` <mailman.2504.1236337060.31690.help-gnu-emacs@gnu.org>
2009-03-07  9:05         ` Marko Myllymaki
2009-03-06 10:51     ` Eli Zaretskii

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.