Gnus development mailing list
 help / color / mirror / Atom feed
From: Dave Love <d.love@dl.ac.uk>
Subject: Re: Have Emacs guess the charset?
Date: 01 Sep 2001 17:32:38 +0100	[thread overview]
Message-ID: <rzqsne627o9.fsf@djlvig.dl.ac.uk> (raw)
In-Reply-To: <2nhev2uvgj.fsf@piglet.jia.vnet>

>>>>> "ZSH" == ShengHuo ZHU <zsh@cs.rochester.edu> writes:

 >> `detect-coding-region'

 ZSH> I tested the function on the attached files in both Emacs 21 and
 ZSH> XEmacs 21.4.  I found the one in XEmacs did a good job, but the one in
 ZSH> Emacs is almost useless.

What does that mean?  The function detects the Big5 for me in Emacs.
It won't detect GB outside an appropriate language environment,
because there's no coding category registered for it.  If Emacs
doesn't detect an encoding with an appropriate entry in
`coding-category-list' it's a bug.

However, I think you're on a hiding to nothing with this, even if you
have the corresponding coding system with which to decode it.  (E.g.
_I_ have windows-1252, but most people don't, and you couldn't
typically distinguish it from other CCL coding systems which use most,
or all, octets.)






      parent reply	other threads:[~2001-09-01 16:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-15 14:01 Kai Großjohann
2001-08-19 20:41 ` Lars Magne Ingebrigtsen
2001-08-19 23:46   ` Daniel Pittman
2001-08-20  0:36     ` Lars Magne Ingebrigtsen
2001-08-20  1:26       ` Daniel Pittman
2001-08-20  6:35         ` Lars Magne Ingebrigtsen
2001-08-20  7:26           ` Daniel Pittman
2001-08-20  8:25             ` Lars Magne Ingebrigtsen
2001-08-20  9:13               ` Daniel Pittman
2001-08-20 10:02                 ` Lars Magne Ingebrigtsen
2001-08-20  9:34               ` Kai Großjohann
2001-08-20 10:02                 ` Lars Magne Ingebrigtsen
2001-09-01 16:32       ` Dave Love
2001-08-21  0:07     ` ShengHuo ZHU
2001-08-21 21:58       ` Lars Magne Ingebrigtsen
2001-09-01 16:32       ` Dave Love [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rzqsne627o9.fsf@djlvig.dl.ac.uk \
    --to=d.love@dl.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).