all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* switching between locales (esp. iso-8859-1 and iso-8859-15)
@ 2005-03-10 17:15 Tapani Tarvainen
  2005-03-10 18:24 ` Reiner Steib
  2005-03-10 18:34 ` Kevin Rodgers
  0 siblings, 2 replies; 8+ messages in thread
From: Tapani Tarvainen @ 2005-03-10 17:15 UTC (permalink / raw)



Is there any easy way to tell emacs to reinterpret (and display)
a buffer with a different encoding?

This sounds so basic but I can't figure out how to do it,
other than starting a new instance of emacs with different
locale.

In particular, I frequently have to deal with files in ISO-8859-1
and ISO-8859-15 codings, and while emacs is perfectly able to
display either correctly if it starts with the right foot, er,
with correct locale, I can't figure out how to make it change
its opinion of the encoding once it has opened the file.

E.g., if my locale is set to something with ISO-8859-1 encoding
and I open a file containing the euro symbol, it is displayed
incorrectly. That's fine, emacs had no way of knowing, but how
can I then tell emacs what the correct encoding is?

For now I simply exit emacs and start another with
LC_ALL=fi_FI@euro emacs
or something similar, but I hate doing that. It should
not be necessary to start a new emacs simply to edit
files with different encodings.

Please tell me I've missed something obvious.
It can't be this hard.

-- 
Tapani Tarvainen

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

end of thread, other threads:[~2005-03-15 20:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-10 17:15 switching between locales (esp. iso-8859-1 and iso-8859-15) Tapani Tarvainen
2005-03-10 18:24 ` Reiner Steib
2005-03-11  4:25   ` Tapani Tarvainen
2005-03-11 17:41     ` Kevin Rodgers
2005-03-15 15:11       ` Tapani Tarvainen
2005-03-15 17:05         ` Kevin Rodgers
2005-03-15 20:36     ` Stefan Monnier
2005-03-10 18:34 ` Kevin Rodgers

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.