unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42951: 28.0.50; Reading ephemeral web-based groups in Gnus doesn't handle 8bit encoding correctly
@ 2020-08-20 12:42 Lars Ingebrigtsen
  2020-08-20 13:06 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-20 12:42 UTC (permalink / raw)
  To: 42951

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]


As a test case:

(gnus-read-ephemeral-emacs-bug-group 35885)

Select an article by Sebastian Urban that has non-ASCII characters.
These have content-type utf-8, and content-transfer-encoding 8bit, and
they display like this:


[-- Attachment #2: Type: image/png, Size: 3559 bytes --]

[-- Attachment #3: Type: text/plain, Size: 535 bytes --]


I suspect that URL is using a multibyte buffer somewhere, and that leads
to ... problems.


In GNU Emacs 28.0.50 (build 52, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
 of 2020-08-19 built on xo
Repository revision: 9c17df59a38b71166c8e4644ab525e791f7ff21c
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux bullseye/sid

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


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

* bug#42951: 28.0.50; Reading ephemeral web-based groups in Gnus doesn't handle 8bit encoding correctly
  2020-08-20 12:42 bug#42951: 28.0.50; Reading ephemeral web-based groups in Gnus doesn't handle 8bit encoding correctly Lars Ingebrigtsen
@ 2020-08-20 13:06 ` Andreas Schwab
  2020-08-21 13:37   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2020-08-20 13:06 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 42951

On Aug 20 2020, Lars Ingebrigtsen wrote:

> I suspect that URL is using a multibyte buffer somewhere, and that leads
> to ... problems.

You get the same error when you save the raw message in a file and read
it with G f (gnus-group-make-doc-group).

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





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

* bug#42951: 28.0.50; Reading ephemeral web-based groups in Gnus doesn't handle 8bit encoding correctly
  2020-08-20 13:06 ` Andreas Schwab
@ 2020-08-21 13:37   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-21 13:37 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 42951

Andreas Schwab <schwab@linux-m68k.org> writes:

> On Aug 20 2020, Lars Ingebrigtsen wrote:
>
>> I suspect that URL is using a multibyte buffer somewhere, and that leads
>> to ... problems.
>
> You get the same error when you save the raw message in a file and read
> it with G f (gnus-group-make-doc-group).

Yup, it's a general problem with nndoc.  I fixed it now for this use
case, but I'm wondering whether it'll mess things up for other data
sources.  I guess we'll find out...

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





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

end of thread, other threads:[~2020-08-21 13:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-20 12:42 bug#42951: 28.0.50; Reading ephemeral web-based groups in Gnus doesn't handle 8bit encoding correctly Lars Ingebrigtsen
2020-08-20 13:06 ` Andreas Schwab
2020-08-21 13:37   ` Lars Ingebrigtsen

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).