Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: with pgnus 0.55 and 0.56 i'm unable to see text in russian
Date: 29 Nov 1998 23:47:20 -0500	[thread overview]
Message-ID: <2nd865okh3.fsf@zsh.cs.rochester.edu> (raw)
In-Reply-To: Vladimir Volovich's message of "30 Nov 1998 00:17:17 +0300"

>>>>> "VVV" == Vladimir Volovich <vvv@vvv.vsu.ru> writes:

VVV> Hi,
VVV> as i reported some time before, pgnus 0.55 broke displaying of
VVV> articles in russian. 0.54 worked fine. here is what happens:

VVV> (1) in nnmbox, russian articles with C-T-E=8bit are displayed Ok

VVV> (2) in nnmbox, russian articles with C-T-E=QP are displayed buggy
VVV>     (\214<8-bit-char>)

VVV> (3) in nnmbox, russian multipart/alternative articles which have html
VVV>     part with C-T-E=QP (which are rendered with w3), are displayed Ok
VVV>     (i.e. russian characters look fine) except that background color
VVV>     is only at positions with letters; empty lines and space at the
VVV>     end of lines is not colored with background color, but this is
VVV>     another issue.

VVV> (4) in nntp newsgroups, i see latin1 instead of koi8-r 8-bit articles
VVV>     without C-T-E (regardless of setting of mm-default-coding-system
VVV>     to 'koi8)

VVV> Some observations: i tried to debug the function mm-display-inline;
VVV> and in pgnus-0.55 the text which finally appears in the *Article*
VVV> buffer gets corrupted when the function mm-encode-coding-region is
VVV> called (before that, the *Article* buffer already contains russian
VVV> text properly encoded, so this is the second encoding which breaks
VVV> things).

I can not reproduce the bug in Emacs 20.3. 

I guess the problem is that "quoted-printable-decode-region" runs in a
non-"unibyte" buffer. To verify, do the following steps,

1. set breakpoint at quoted-printable-decode-region;
2. select a QP Russian article;
3. run quoted-printable-decode-region by pressing "c" in *Backtrace*;
4. check whether Russian characters are shown in *Article <blah>* 
   buffer

If true, the bug is "quoted-printable-decode-region" runs in a
non-"unibyte" buffer.

BTW, what is difference between koi8-r and koi8? In XEmacs, XEmacs
20.4 can not show Russian characters in koi8-r article.

-- 
Shenghuo


  reply	other threads:[~1998-11-30  4:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-29 21:17 Vladimir Volovich
1998-11-30  4:47 ` Shenghuo ZHU [this message]
1998-11-30  7:54   ` Vladimir Volovich
1998-11-30 19:03     ` Shenghuo ZHU
1998-11-30 19:51       ` Vladimir Volovich
1998-11-30 20:12         ` Shenghuo ZHU
1998-11-30 21:20           ` Vladimir Volovich

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=2nd865okh3.fsf@zsh.cs.rochester.edu \
    --to=zsh@cs.rochester.edu \
    /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).