GNU bug report logs - #3247
23.0.93; Gnus 5.13 sends corrupted messages with Cyrillic

Previous Next

Packages: emacs, gnus;

Reported by: Dmitri Paduchikh <dpaduch <at> k66.ru>

Date: Sat, 9 May 2009 12:15:05 UTC

Severity: normal

Tags: notabug

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3247 in the body.
You can then email your comments to 3247 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3247; Package emacs. (Sat, 09 May 2009 12:15:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dmitri Paduchikh <dpaduch <at> k66.ru>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 09 May 2009 12:15:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dmitri Paduchikh <dpaduch <at> k66.ru>
To: emacs-pretest-bug <at> gnu.org
Cc: rfrancoise <at> debian.org
Subject: 23.0.93; Gnus 5.13 sends corrupted messages with Cyrillic
Date: Sat, 09 May 2009 18:09:16 +0600
Hi,

Gnus 5.13 eats Cyrillic small letter io (1105, #o2121, #x451) in sent
messages. It gets replaced together with preceding Cyrillic character by
a space. This happens only for messages which have been actually sent
using encoding koi8-r, 8bit, and only if preceding character was
Cyrillic one. Messages stored in a file or in a group by Fcc or Gcc
headers are displayed normally. To reproduce:

(push 'koi8-r mm-coding-system-priorities)
(push '(koi8-r . 8bit) mm-body-charset-encoding-alist)

Then insert in the body part of message buffer (using message-mode) the
string "всё ещё" and send it to yourself. Observe the result in your
inbox.

In GNU Emacs 23.0.93.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1)
 of 2009-05-02 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20090501-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10601000
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.93/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.93/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: C
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: C
  value of $LANG: ru_RU.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  savehist-mode: t
  iswitchb-mode: t
  desktop-save-mode: t
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  gpm-mouse-mode: t
  yas/minor-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Recent input:
f a u l t <return> <S-down> <down> <down> <down> <down> 
<down> <up> <up> <up> <down> <down> <down> <down> <down> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> s-c s-t s-i s-c s-t C-e m <f8> 
<return> <S-down> <end> <C-left> <C-left> <end> <left> 
C-x C-e C-M-b <end> <left> <left> <left> <C-left> <C-right> 
<S-up> C-x C-e <f2> <S-down> M-m <S-up> <right> <right> 
<right> <right> <right> <right> <right> <S-up> <right> 
<S-right> <up> <down> <down> <up> <home> <S-up> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<S-up> <S-right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <S-up> <S-right> s-c 
s-t <S-f4> <left> <left> <C-left> <end> s-c s-t <down> 
M-p M-p M-p M-p <return> <up> <home> <C-delete> <f4> 
o u p <return> j n n m l : o u t . g o <tab> <return> 
1 <return> j C-y <return> <S-down> <down> <down> <up> 
<up> g g h <down> <down> <down> e <S-down> <down> <down> 
<down> M-< <down> <down> <down> <home> <C-right> <C-right> 
<C-right> <C-right> C-SPC <C-left> <C-left> <C-left> 
M-w M-< <S-f5> C-y <return> <up> <end> <backspace> 
3 <return> <S-down> <up> <C-up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <down> <down> <right> 
<S-up> C-SPC <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<down> <down> <down> <up> <up> <up> <end> <C-left> 
<C-left> <C-left> <C-left> <C-left> <down> <down> <down> 
<up> <up> <down> C-x C-x M-w <S-up> C-x C-x <up> <down> 
C-x C-x M-w <S-up> C-e m C-c C-k y e s <return> <S-down> 
M-! C-g <S-down> M-U <down> <up> <up> <up> <S-down> 
<S-down> <down> <down> <down> q <menu> r <backspace> 
<backspace> r e p o r t - e m <tab> b u f <backspace> 
g <return>

Recent messages:
Auto-saving...done
Region of 8 lines  copied to kill ring [2 times]
Quit
No more articles [2 times]
signal: Beginning of buffer [2 times]
signal: End of buffer
Expiring articles...done
No more unread newsgroups
delete-backward-char: Text is read-only
Column 61

-- 
Дмитрий Падучих




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#3247; Package emacs,gnus. (Wed, 29 Jun 2011 23:24:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Dmitri Paduchikh <dpaduch <at> k66.ru>
Cc: emacs-pretest-bug <at> gnu.org, rfrancoise <at> debian.org,
	3247-close <at> debbugs.gnu.org
Subject: Re: bug#3247: 23.0.93;
	Gnus 5.13 sends corrupted messages with Cyrillic
Date: Thu, 30 Jun 2011 01:23:06 +0200
Dmitri Paduchikh <dpaduch <at> k66.ru> writes:

> (push 'koi8-r mm-coding-system-priorities)
> (push '(koi8-r . 8bit) mm-body-charset-encoding-alist)
>
> Then insert in the body part of message buffer (using message-mode) the
> string "всё ещё" and send it to yourself. Observe the result in your
> inbox.

I've tried this in Emacs 24, and things seem to work there (as this
message will hopefully show :-), so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Reply sent to Lars Magne Ingebrigtsen <larsi <at> gnus.org>:
You have taken responsibility. (Wed, 29 Jun 2011 23:24:02 GMT) Full text and rfc822 format available.

Notification sent to Dmitri Paduchikh <dpaduch <at> k66.ru>:
bug acknowledged by developer. (Wed, 29 Jun 2011 23:24:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#3247; Package emacs,gnus. (Sat, 02 Jul 2011 17:35:02 GMT) Full text and rfc822 format available.

Message #16 received at 3247 <at> debbugs.gnu.org (full text, mbox):

From: Dmitri Paduchikh <dpaduch <at> k66.ru>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: emacs-pretest-bug <at> gnu.org, rfrancoise <at> debian.org, 3247 <at> debbugs.gnu.org
Subject: Re: bug#3247: 23.0.93;
	Gnus 5.13 sends corrupted messages with Cyrillic
Date: Sat, 02 Jul 2011 19:12:59 +0600
Hello,

Lars Magne Ingebrigtsen:

LI> Dmitri Paduchikh <dpaduch <at> k66.ru> writes:

>> (push 'koi8-r mm-coding-system-priorities)
>> (push '(koi8-r . 8bit) mm-body-charset-encoding-alist)
>>
>> Then insert in the body part of message buffer (using message-mode) the
>> string "всё ещё" and send it to yourself. Observe the result in your
>> inbox.

LI> I've tried this in Emacs 24, and things seem to work there (as this
LI> message will hopefully show :-), so I'm closing this bug report.

No, it doesn't work for me.  I tried this in freshly built Emacs 24 and
the result is the same: the string "всё ещё" turns into "в  е ".
I am including the text of my test message below with all headers.
Sorry, but I couldn't send it as message/rfc822, because forwarding with
C-3 C-c C-f (gnus-summary-mail-forward) changes the
Content-Transfer-Encoding header of the enclosed message to base64, and
C-2 C-c C-f complains about non-printable characters.

Please note that message-send-mail-function in my configuration is set
to message-send-mail-with-sendmail.  Whereas judging from recent
discussions in emacs-devel you might be using smtpmail-send-it.

,----
| Return-Path: <dima <at> ait.home-net>
| X-Original-To: dima
| Delivered-To: dima <at> ait.home-net
| Received: from paduch.telenet.ru (localhost [127.0.0.1])
| 	by ait.home-net (Postfix) with ESMTP id 327C7120428
| 	for <dima>; Sat,  2 Jul 2011 18:17:43 +0600 (YEKST)
| From: dima <at> ait.home-net
| To: dima <at> ait.home-net
| Subject: тест
| Date: Sat, 02 Jul 2011 18:17:43 +0600
| X-Gnus-Mail-Source: maildir:~/Maildir/new
| Message-ID: <87ei28q3ko.fsf <at> paduch.telenet.ru>
| User-Agent: Gnus/5.13 (Gnus v5.13)
| MIME-Version: 1.0
| Content-Type: text/plain; charset=koi8-r
| Content-Transfer-Encoding: 8bit
| Lines: 2
| Xref: ait.home-net mail.other:44238
| 
| Это в  е  тест для    GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+
| Version 2.24.4) of 2011-07-02 on ait
`----

-- 
Dmitri Paduchikh

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#3247; Package emacs,gnus. (Sun, 03 Jul 2011 03:53:01 GMT) Full text and rfc822 format available.

Message #19 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dmitri Paduchikh <dpaduch <at> k66.ru>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: emacs-pretest-bug <at> gnu.org, rfrancoise <at> debian.org, 3247 <at> debbugs.gnu.org
Subject: Re: bug#3247: 23.0.93;
	Gnus 5.13 sends corrupted messages with Cyrillic
Date: Sun, 03 Jul 2011 09:52:17 +0600
Hello,

It appears that my problem was caused by the following setting in the
~/.gnus:

(setq message-send-coding-system 'koi8-r)

After resetting this variable to its default value 'binary the problem
is gone. Sorry for noise.

-- 
Dmitri Paduchikh




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#3247; Package emacs,gnus. (Sun, 03 Jul 2011 03:53:02 GMT) Full text and rfc822 format available.

Added tag(s) notabug. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 03 Jul 2011 12:22:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 01 Aug 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 327 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.