unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Felix Lechner via "Bug reports for GUILE, GNU's Ubiquitous Extension Language" <bug-guile@gnu.org>
To: 62590@debbugs.gnu.org
Cc: Christopher Baines <mail@cbaines.net>
Subject: bug#62590: Strange put-char encoding-error "conversion to port encoding failed"
Date: Sat, 20 Jan 2024 20:01:22 -0800	[thread overview]
Message-ID: <87zfwzxrl9.fsf@lease-up.com> (raw)
In-Reply-To: <87cz4nn7zw.fsf@cbaines.net>

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





      reply	other threads:[~2024-01-21  4:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-01 11:37 bug#62590: Strange put-char encoding-error "conversion to port encoding failed" Christopher Baines
2024-01-21  4:01 ` Felix Lechner via Bug reports for GUILE, GNU's Ubiquitous Extension Language [this message]

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/guile/

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

  git send-email \
    --in-reply-to=87zfwzxrl9.fsf@lease-up.com \
    --to=bug-guile@gnu.org \
    --cc=62590@debbugs.gnu.org \
    --cc=felix.lechner@lease-up.com \
    --cc=mail@cbaines.net \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).