all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Automatic recognition of some specific coding systems
@ 2015-02-24 15:31 Jürgen Hartmann
  2015-02-24 18:28 ` Eli Zaretskii
  2015-02-27  1:50 ` Yuri Khan
  0 siblings, 2 replies; 14+ messages in thread
From: Jürgen Hartmann @ 2015-02-24 15:31 UTC (permalink / raw
  To: help-gnu-emacs@gnu.org

Most of the text files that I have to work with are encoded with one
of the coding systems

   utf-8-unix
   latin-9-unix
   cp850-dos

Therefore, it was very convenient for me that the version 22.3 of
Emacs was (after some minor configuration) perfectly able to
automatically recognize these coding systems from the contents of the
respective files. As I understand, this was possible because in that
old Emacs version these tree systems were associated with three
different coding categories, i.e.

   coding-category-utf-8
   coding-category-iso-8-1   (meanwhile depreciated)
   coding-category-ccl

respectively.

Now switching to Emacs 24.4, I found that two of these coding systems,

   latin-9-unix
   cp850-dos

were bunched together into the category

   coding-category-charset

presumably with the consequence that I have to choose which one of
these two systems will not be automatically recognized any more.

Is this conclusion correct?

If yes, this would be a big regression from my point of view, so I am
very interested in any kind of workaround.
(If this has to be done by reimplementing cp850 via CCL, it would be
great to get some (link to a) tutorial on this topic.)

It is clear that there are coding systems that can not be
distinguished just by analyzing the encoded text. But from the
experience with former versions of Emacs I know that this particular
problem is not ill-posed.

Therefore, I would greatly appreciate any help.

Juergen

 		 	   		  


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

end of thread, other threads:[~2015-03-03 22:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-24 15:31 Automatic recognition of some specific coding systems Jürgen Hartmann
2015-02-24 18:28 ` Eli Zaretskii
2015-02-24 22:30   ` Jürgen Hartmann
2015-02-25 16:19     ` Eli Zaretskii
2015-02-25 17:53       ` Jürgen Hartmann
2015-02-25 20:29         ` Eli Zaretskii
2015-02-25 23:23           ` Jürgen Hartmann
2015-02-26 16:36             ` Eli Zaretskii
2015-02-26 22:34               ` Jürgen Hartmann
2015-02-28 16:55                 ` Eli Zaretskii
2015-03-03 22:58                   ` Jürgen Hartmann
2015-02-27  1:50 ` Yuri Khan
2015-02-27 12:12   ` Jürgen Hartmann
2015-02-27 12:25     ` Jürgen Hartmann

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.