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 [172.16.0.2] (unknown [104.28.219.244]) by gnuweeb.org (Postfix) with ESMTPSA id 87C5C804D1; Thu, 20 Oct 2022 05:10:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1666242606; bh=61W9Jo+PTpmXq+JskJr+SHw/me+JvkeKTF9nlbTTPNQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=jNYVCgn8J6kBe1CtRPHHNmPZuXKGd8CxM7wIl814dM1paBcQeAU+ZS4jEHwKZILEO TyPKb4X/+Um4l2fZ1Gty4zGMuDKhPtrvGMjPIMat9ilDHkvzTjrZz9kutLoK9w/lqq kvUKING+t9VMaPFjBM3Aw0Zb3XuVo83paDuw3EmZBcEfGKNbpt9RJF+tVCYkTlbmTM uN0GeXa7GgrVwn6VhUP9Hl7gv3Z6KFBMi0ZLB50i+9LYuZSU4i7rlm2XIV+mtwJLfs syR3/x+qnvGyDcWahWlrf0Sri1xooS+2TliHlGnbFSSMtoPUkn82zib+JJq6zQq1Kv fwdrGTGKWG1xA== Message-ID: Date: Thu, 20 Oct 2022 12:10: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 v1 4/7] atom: Improve fix_utf8_char() Content-Language: en-US To: Muhammad Rizki , Alviro Iskandar Setiawan Cc: GNU/Weeb Mailing List References: <20221018081635.1617-1-kiizuha@gnuweeb.org> <20221018081635.1617-5-kiizuha@gnuweeb.org> <14303851-8483-0737-8edc-649ee121f0ee@gnuweeb.org> <785390ce-e3ed-f1eb-dec6-a383563d139b@gnuweeb.org> <76df4a7f-dafc-c167-3b86-ae9dd6d0a233@gnuweeb.org> <31408c83-e9d3-3fcb-c109-b4b93df104d8@gnuweeb.org> <367d8f78-29a0-1e00-8019-c383c0a49d11@gnuweeb.org> <77f4a6d1-0eba-cf9c-4db7-36ebf96670c4@gnuweeb.org> <0d4ddf72-5f07-b146-d47a-4c45de4de8cf@gnuweeb.org> From: Ammar Faizi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: On 10/20/22 12:06 PM, Muhammad Rizki wrote: > On 20/10/2022 12.02, Ammar Faizi wrote: >> On 10/20/22 11:26 AM, Muhammad Rizki wrote: >>> Wait, so we shouldn't have receive an HTML email? I could just use if statement here. >> >> The vger end rejects any HTML email by default. But that email was sent >> to linux-mm (kvack). >> >> There is: >> >>     X-Delivered-To: int-list-linux-mm@kvack.org >> >> in the email header that implies so. >> > > So, I could just do if statement here and ignore whenever the email contain text/html header? If you can ignore the HTML part and take only the text/plain part, that would be great. It's not a mandatory requirement though. That's to say, the ideal way to interpret multipart/alternative in this context is taking the text/plain and discard the HTML. Can you do that? -- Ammar Faizi