From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2MRtGBeNJWeCgwEAe85BDQ:P1 (envelope-from ) for ; Sat, 02 Nov 2024 02:23:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2MRtGBeNJWeCgwEAe85BDQ (envelope-from ) for ; Sat, 02 Nov 2024 03:23:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=sMJlJWO6; dkim=fail ("headers rsa verify failed") header.d=xn--no-cja.eu header.s=ds202402 header.b=wjGMcOEn; spf=pass (aspmx1.migadu.com: domain of "bug-mumi-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-mumi-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730514199; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QG7ExHqLJTGlVMYwZVQCnOGP3L3TjA2She0NIGWjeMM=; b=fDj9X6a999bMbiH4S4sRbq9Ck3m89ggyVdWjNqGcl8AqUHwl00p//v3zWJlQw1WCaUlp4g Pa9vvfuhhEl8O/1hr0d1MylVZW/YMUumGOjnX9uK7onrd+rkat6fTALQdGzagjgl3Hflqf 1f6knN7WJN2tCj7mTr4acCXi/pQ2xVIgm+PrvUVyFXigF0DKNJw0lnsoMfRJgECI9jMhwd M49kTs0/Kua7Rf11GDzuRJz3E9yaMgeq/YpTaK9OrtZvYSapZAIHkW/ToNDF35tCLcbriL QhWud0aOvaPbZivtyrY/5KAfL+G+uYhqrYH/dtX0yCh4kr7wjPq+A0xrYb3/sg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730514199; a=rsa-sha256; cv=none; b=i/UuKoOBRMmzbiYAD7qpekT1iJSOoE5kmgLMyTw2ednrzbCb7B2NUngIStDHsMIUYLjj0Y 88n3IbZ2aeYVUdCX6OwJ+bdd4mnKKOVgPZfbwqTSRiiHdyd4+aUg0bsuaHCP9r6Nw61w10 gFfgAPXn4SX6UVN/IK/a2kGXLaCPl9+Dvch+rnejYug/mOW0qLMZo7byJwIbcuynHU0ziC zRLXRUBgUaqKsl/KhowCVP3v0/kgJnPCtNsASRktiePX4Ea/2Q/lI7ysNgYXAEp/Cn1IuQ rTgosamVaQJHI4P/k3unNvLUE7hkf/CRdC+n5EwMzPLCfaWoMLOFi20TopKOvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=sMJlJWO6; dkim=fail ("headers rsa verify failed") header.d=xn--no-cja.eu header.s=ds202402 header.b=wjGMcOEn; spf=pass (aspmx1.migadu.com: domain of "bug-mumi-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-mumi-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3AF0278AE for ; Sat, 02 Nov 2024 03:23:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t73nA-00056R-Mm; Fri, 01 Nov 2024 22:23:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t73n4-000560-Sf for bug-mumi@gnu.org; Fri, 01 Nov 2024 22:23:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t73n4-0004Fp-JN for bug-mumi@gnu.org; Fri, 01 Nov 2024 22:23:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=QG7ExHqLJTGlVMYwZVQCnOGP3L3TjA2She0NIGWjeMM=; b=sMJlJWO6cPUt4SLUBFFTn2KCcs74w7rwsZIpgdXbI6QjPZ5p8hb3L+hz5hzqjAEkN0/Q+QZvJWXja1HgqX721hiwbvjcOtzPoBRK/DJ4/VCbxxok4OHXwqObZ3rOidY+arjtSIb2aPzqmP1XS5A0IFCtwQhgxyBjIkZ8hoAb1lfObSgijnO7z2DuIK7JqyCgMaUFsCkDBB3BI1hXeuk/9HST9QlBnlYk2ZuF7huKHtx0vBcFaYzLxNDdb9el+bNqzSg0fzMESakQo59FO3ItQEsfwLM/E9OWS2yH5kyXJC7Eb/Womci+uydueY1IOa8VXa5of7+dSilMPIfErj/hUQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t73n4-0007rd-7x for bug-mumi@gnu.org; Fri, 01 Nov 2024 22:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#69381: [PATCH] web: Use string to avoid losing unicode characters. References: In-Reply-To: Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: bug-mumi@gnu.org Resent-Date: Sat, 02 Nov 2024 02:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69381 X-GNU-PR-Package: mumi X-GNU-PR-Keywords: patch To: 69381@debbugs.gnu.org Received: via spool by 69381-submit@debbugs.gnu.org id=B69381.173051414830202 (code B ref 69381); Sat, 02 Nov 2024 02:23:02 +0000 Received: (at 69381) by debbugs.gnu.org; 2 Nov 2024 02:22:28 +0000 Received: from localhost ([127.0.0.1]:52631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t73mW-0007r4-29 for submit@debbugs.gnu.org; Fri, 01 Nov 2024 22:22:28 -0400 Received: from smtp.domeneshop.no ([194.63.252.55]:57407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t73mT-0007qu-J5 for 69381@debbugs.gnu.org; Fri, 01 Nov 2024 22:22:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202402; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:To:From:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QG7ExHqLJTGlVMYwZVQCnOGP3L3TjA2She0NIGWjeMM=; b=wjGMcOEnS/W7QwbVlf69+EDNTk wGo6NvG1+RqxX2meCTEhRSiZYEQUGvGWJ5Oh4FRt+P5moLwP5xKldMq6GyzrkB2u5SnPoBe2jFJBw qSdp50FrhWY1xcS67AriolDNpzq9XJdjpVz6StcBkj3Hj6LSFtFg6nWuyDQ1uJmZUYAjwmP15ZCHO xGh/GYrcEyZwfb+3B7pmxzzX2JHLUIZCaXACEL6zThboUwthJjKE5oCRRUZIO4bXkCwmIaTVAnE0L UuPosbAJHkJl3T56jt6rg1HmuWDx5WfgM8cCjCB7xWf9vh/iApQKVe7qqmTrjV9hL+6CWnCLnF/fZ 6Dk4iPvQ==; Received: from [2a01:e0a:990:a960:b4f3:8f44:ec4:5af5] (port=60784 helo=lignux) by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1t73mN-0060Ty-3i for 69381@debbugs.gnu.org; Sat, 02 Nov 2024 03:22:19 +0100 Date: Sat, 02 Nov 2024 03:23:24 +0100 Message-ID: <87froape5f.fsf@xn--no-cja.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-mumi@gnu.org List-Id: "Bug reports for GNU Guix Mumi." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: =?UTF-8?Q?No=C3=A9?= Lopez X-ACL-Warn: , =?utf-8?q?No=C3=A9_Lopez_via_Bug-mumi?= From: =?utf-8?q?No=C3=A9_Lopez_via_Bug-mumi?= via "Bug reports for GNU Guix Mumi." Errors-To: bug-mumi-bounces+larch=yhetil.org@gnu.org Sender: bug-mumi-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.18 X-Spam-Score: -3.18 X-Migadu-Queue-Id: 3AF0278AE X-Migadu-Scanner: mx13.migadu.com X-TUID: QC8eiu6sc2Zp Small update, I=E2=80=99ve investigated the issue in fibers and I now blame the guile web library for the issue. Apparently it sets the port to ISO-8859-1 encoding each time you call read-request, but it acts like =C2=AB yeah don= =E2=80=99t worry just use utf-8 for your body =C2=BB in the docs. That=E2=80=99s fine UNLESS you use chunked transfers (omitting content-leng= th in fibers), in which case it just decides to blow up :///// (it assumes one character =3D one byte) In the end I=E2=80=99m pretty sure any of this could have been avoided by j= ust not replacing every character with question marks. Had it kept the invalid bytes intact they would have translated back with no issue.