GNU bug report logs - #62590
Strange put-char encoding-error "conversion to port encoding failed"

Previous Next

Package: guile;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Sat, 1 Apr 2023 11:44:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 62590 <at> debbugs.gnu.org
Cc: Christopher Baines <mail <at> cbaines.net>
Subject: bug#62590: Strange put-char encoding-error "conversion to port encoding failed"
Date: Sat, 20 Jan 2024 20:01:22 -0800
Hi,

> (encoding-error put-char conversion to port encoding failed 84
> #<output: file 1> s)

Could the error be due to the 7-bit encoding in HTTP headers? [1] The
"84" is EILSEQ from errno.h. [2] Wingo added the functionality here. [3]

I also submitted a patch to resolve in the errno. [4]

A similar issue appeared in Guix's Cuirass. [5]

Kind regards
Felix

[1] https://lists.gnu.org/archive/html/guile-user/2020-09/msg00015.html
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/asm-generic/errno.h#n67
[3] https://git.savannah.gnu.org/cgit/guile.git/commit/?id=43b6feeb1adafe54170304e7cc3c29a15c1d3808
[4] https://debbugs.gnu.org/68624
[5] https://debbugs.gnu.org/59510




This bug report was last modified 121 days ago.

Previous Next


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