From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from [10.7.7.5] (unknown [182.253.183.247]) by gnuweeb.org (Postfix) with ESMTPSA id 637DA804D1; Fri, 21 Oct 2022 15:59:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1666367944; bh=iYXVvhos0hn/uQw4iURczjKSQ6vKD4FiKi5QUDDM0yE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=MCbUfQgGbXIowwaTjwok2GylBxKNEU/8kpODoLy1bntkToNAauolvxNFzy1J3docD d5fw28VBJMaxwZO76PKG2fBUSWomKllG6X+4U03S70FCzoXCuX9XSxwP/2BxPxa50Q GeHkUi9mYfy1JArPS+5/Xrvq4/iD9ocXxWFiA75AOEebaEXj9dD0N28wb4hTFfQj69 EMyKLsDClKWy7vdaV5e/K4MN7WZi+dGQBTa543KUqtkSGHwf+JVG3U6IyTZDXhJ/vs 7MKhROu5Pod4QkfYu2moktzc6yuof6inT3ErxfiBH79FUXcBLoD/yxR1ndu7IPeKXT a6hpcOLM5QsNQ== Message-ID: Date: Fri, 21 Oct 2022 22:59:01 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v3 8/9] enum: Add Platform enumeration Content-Language: en-US To: Muhammad Rizki Cc: Alviro Iskandar Setiawan , GNU/Weeb Mailing List References: <20221021134520.701-1-kiizuha@gnuweeb.org> <20221021134520.701-9-kiizuha@gnuweeb.org> <6fb1d238-de6a-325c-8d17-6801ae24c717@gnuweeb.org> <982b723b-5c22-cfe2-6fcf-d0584b8c142d@gnuweeb.org> <90fb2819-443d-2665-e42b-b069e7dbbaff@gnuweeb.org> <64f50068-72bc-6f53-17f5-54826bd7947f@gnuweeb.org> <77f5a9df-0268-0e54-262c-ab53cc9bb43d@gnuweeb.org> <2362bd76-fd02-13ab-760d-4d07c07aee69@gnuweeb.org> <85fd624a-f579-8a6a-92db-719aae815ddd@gnuweeb.org> <769ea5e8-2b28-ce92-451d-7ca43b9f3d43@gnuweeb.org> <83d4b61e-e121-982a-38ae-716e857da1d6@gnuweeb.org> From: Ammar Faizi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 10/21/22 10:54 PM, Muhammad Rizki wrote: > I think we should use decode() <- and put the Content-Type charset of > the email? like quopri.decodestring(p.encode()).decode("iso-8859-1") I don't have any comment on that. Let's do that if it fixes the issue. I hope it doesn't introduce a new content corruption bug. > I was catch the same error with different byte issue and trying to do > decode with it's specific charset. > > Sample: > https://lore.kernel.org/all/PH1P110MB1068C08C780AD75F20DC9BF0A42D9@PH1P110MB1068.NAMP110.PROD.OUTLOOK.COM/ Bah, that's a disgusting email. It's top posting and it wraps all URLs with totally unreadable safelink. -- Ammar Faizi