unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-devel@gnu.org
Subject: coding-system-error gbk
Date: Wed, 14 Nov 2007 09:02:00 +0000	[thread overview]
Message-ID: <m3y7d1qjxz.fsf@cam.ac.uk> (raw)

Hi there,

[GNU Emacs 23.0.50.21 (i686-pc-linux-gnu, GTK+ Version 2.10.14) of 2007-11-01]
["Gnus/5.130000 Emacs/23.0.50 (20071101) Fedora 8 (gnu/linux)"]

When I try to decode an article with gbk or utf-7, I get an error and
the article is left in raw format.

gbk
===

Debugger entered--Lisp error: (coding-system-error gbk)
  mm-decode-coding-region(3524 3597 gbk)
  mail-decode-encoded-word-region(3524 3597)
  article-decode-encoded-words()
  run-hooks(gnus-article-decode-hook)
  gnus-request-article-this-buffer(65651 "gmane.emacs.gnus.general")
  gnus-article-prepare(65651 nil)
  gnus-summary-display-article(65651 nil)
  gnus-summary-select-article(nil force)
  gnus-summary-show-article(2)
  call-interactively(gnus-summary-show-article)

utf-7
====

Debugger entered--Lisp error: (error "Invalid base64 data")
  base64-decode-region(9197 9201)
  utf-7-decode(27890 nil)
  utf-7-post-read-conversion(27890)
  mm-decode-coding-region(4042 31932 utf-7)
  mm-decode-body("us-ascii" nil "text/plain")
  article-decode-charset()
  run-hooks(gnus-article-decode-hook)
  gnus-request-article-this-buffer(82217 "gmane.emacs.devel")
  gnus-article-prepare(82217 nil)
  gnus-summary-display-article(82217 nil)
  gnus-summary-select-article(nil force)
  gnus-summary-show-article(4)
  call-interactively(gnus-summary-show-article)

HTH,
-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

          Use the best OS -- http://www.fedoraproject.org/

             reply	other threads:[~2007-11-14  9:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-14  9:02 Leo [this message]
2007-11-19  2:49 ` coding-system-error gbk Kenichi Handa
2007-11-19  3:13   ` Leo
2007-11-19  4:00     ` Kenichi Handa
2007-11-19  4:06       ` Leo
2007-11-19  5:39         ` Kenichi Handa

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m3y7d1qjxz.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).