all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [emacs-w3m:09920] detect-coding-with-priority
@ 2008-01-11  5:43 Katsumi Yamaoka
  2008-01-11  8:00 ` Stephen Berman
  2008-01-11  9:59 ` detect-coding-with-priority Kenichi Handa
  0 siblings, 2 replies; 6+ messages in thread
From: Katsumi Yamaoka @ 2008-01-11  5:43 UTC (permalink / raw)
  To: emacs-devel; +Cc: emacs-w3m

Hi,

I noticed that `detect-coding-with-priority' doesn't work
recently in the Emacs trunk and Unicode-2, though I don't know
when it began.

(with-temp-buffer
  (set-buffer-multibyte nil)
  (insert (encode-coding-string "あいうえお" 'shift_jis))
  (detect-coding-with-priority (point-min) (point-max)
			       '((coding-category-sjis . shift_jis))))
 => (raw-text no-conversion)

Emacs 22.1 returns (shift_jis emacs-mule raw-text no-conversion)
for this form.

(Emacs-w3m uses this macro for identifying the coding system in
web pages in which the charset is not specified.)

Regards,



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

end of thread, other threads:[~2008-01-14  1:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-11  5:43 [emacs-w3m:09920] detect-coding-with-priority Katsumi Yamaoka
2008-01-11  8:00 ` Stephen Berman
2008-01-11  9:59 ` detect-coding-with-priority Kenichi Handa
2008-01-11 11:30   ` detect-coding-with-priority Kenichi Handa
2008-01-11 11:50     ` [emacs-w3m:09929] detect-coding-with-priority Katsumi Yamaoka
2008-01-14  1:01       ` detect-coding-with-priority Kenichi Handa

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.