Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2544145rdg; Mon, 16 Oct 2023 07:37:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG7bqBDcsE6zDxs9lR952WlcEmQhjTeBiL0OKRXu5S2h8AyrWR5nE1Oa0wM/nc/CU+qkcNM X-Received: by 2002:a17:903:11c6:b0:1c5:76b6:d94f with SMTP id q6-20020a17090311c600b001c576b6d94fmr41107651plh.31.1697467077431; Mon, 16 Oct 2023 07:37:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697467077; cv=none; d=google.com; s=arc-20160816; b=oQ96KgARCcqItDeqJ1r+c1bFePk6UU8QlIEWH0yd6hjhmuYeKtOv37QImKGEJUQvqX zbrQS4sbV01hBirMM0DgyD0dQbUXo4DSzF7SeBTK4zrBai0JtxcuTLLc0dTVFNSH5APF cVcVTgW/cU/w87zSkBERvYbTcQd1/OX+k/OguVh8yvJvg1+59GSKiV3huSnk/ahuyHKP uboyu5qFpVfClZqziyQeoZXhw3FDavkt8iAmMzwfOako1EiXDRPbx38s/sF+jwojqDY/ 2VaI+zrE+sG7ZrRnPtt/LZtGgqwUVnnmV3jtdXYwBupEbhMgdaWm0kJpWszg84B4kD+0 CAww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:autocrypt:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0NN+d9zOKsfVcfj8wNhad/4qnjlC6pAh2YL4EmgmD+w=; fh=DQBw0f9sWyI1VOkb2mrM7Q3c6PZvzGAZGlR4T8LvU+g=; b=GcPQxNZxYvDQ3dIy7dQTvHHv79Sk0K7wvJcsfCNaJ87XnksfAxm69UOS3abw6GWKGv s2kvQyAlzYRL27V2zkieoftLqS4STXXJfYNUlYsI5cwaf07p6LmywhdbYsfAlBj8z9uX YIi7ymTo+bCdGNaVroDDRxJ0SJSiwijPW/5IZp6ZbFYCJZXna2Fa3w+Fv+1TOoggbEfA 0XoC6GqFnK3aHhUTiWjAxoSpoE2nwvMnQ8gP6xshUZRZ66hZ6fHm4JXYq1gad9wyql8K gZz6iIP2STDB6n5ThhbrAdomjc0+jfRSvCl1M9gPPHVLgICO3ncrmR1sHjn/Q8l4gJgF RcUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id i16-20020a17090332d000b001b8b437b01esi11577308plr.350.2023.10.16.07.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 07:37:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B6463809A7B6; Mon, 16 Oct 2023 07:37:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232209AbjJPOhr convert rfc822-to-8bit (ORCPT + 99 others); Mon, 16 Oct 2023 10:37:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjJPOhp (ORCPT ); Mon, 16 Oct 2023 10:37:45 -0400 Received: from mx.skole.hr (mx2.hosting.skole.hr [161.53.165.186]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B91283 for ; Mon, 16 Oct 2023 07:37:43 -0700 (PDT) Received: from mx2.hosting.skole.hr (localhost.localdomain [127.0.0.1]) by mx.skole.hr (mx.skole.hr) with ESMTP id 7163484215; Mon, 16 Oct 2023 16:37:39 +0200 (CEST) From: Duje =?utf-8?B?TWloYW5vdmnEhw==?= To: Joe Perches , Alvin =?utf-8?B?xaBpcHJhZ2E=?= Cc: Konstantin Ryabitsev , linux-kernel@vger.kernel.org, Alvin =?utf-8?B?xaBpcHJhZ2E=?= Subject: Re: [PATCH] get_maintainer: correctly parse UTF-8 encoded names in files Date: Mon, 16 Oct 2023 16:37:26 +0200 Message-ID: <5719647.DvuYhMxLoT@radijator> In-Reply-To: <20231014-get-maintainers-utf8-v1-1-3af8c7aeb239@bang-olufsen.dk> References: <20231014-get-maintainers-utf8-v1-1-3af8c7aeb239@bang-olufsen.dk> MIME-Version: 1.0 Autocrypt: addr=duje.mihanovic@skole.hr; keydata= mQINBGBhuA8BEACtpIbYNfUtQkpVqgHMPlcQR/vZhB7VUh5S32uSyerG28gUxFs2be//GOhSHv+ DilYp3N3pnTdu1NPGD/D1bzxpSuCz6lylansMzpP21Idn3ydqFydDTduQlvY6nqR2p5hndQg6II pmVvNZXLyP2B3EE1ypdLIm6dJJIZzLm6uJywAePCyncRDJY0J7mn7q8Nwzd6LG74D8+6+fKptFS QYI8Ira7rLtGZHsbfO9MLQI/dSL6xe8ZTnEMjQMAmFvsd2M2rAm8YIV57h/B8oP5V0U4/CkHVho m+a2p0nGRmyDeluQ3rQmX1/m6M5W0yBnEcz5yWgVV63zoZp9EJu3NcZWs22LD6SQjTV1X8Eo999 LtviIj2rIeCliozdsHwv3lN0BzTg9ST9klnDgY0eYeSY1lstwCXrApZCSBKnz98nX9CuuZeGx0b PHelxzHW/+VtWu1IH5679wcZ7J/kQYUxhhk+cIpadRiRaXgZffxd3Fkv4sJ8gP0mTU8g6UEresg lm9kZKYIeKpaKreM7f/WadUbtpkxby8Tl1qp24jS1XcFTdnjTo3YB2i2Rm9mAL2Bun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g8RqJlEsgsDrWu7zsWraK/jTyuPK6GuNe4AWemRUaZZmhMYnCxU p8AXRgtzZw2vsqERylx1Ug35G/xRIVrjf9bU2fersVWLR3JZ/rJwdjev4cJqzqJ9nBzblHky3K1 cqiNEM/CU+JLBsZMc4jti/3tDv8VKfZiwLMIsVrfPgTM/97CCW3QDwVcreUGx81kemiAweXENWk MGQfJ+8rfAdLHf7iECLWLtrqyfYFQCZGhA5rPPr27TjOLaLV5ObMMBsUY= Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 16 Oct 2023 07:37:54 -0700 (PDT) On Saturday, October 14, 2023 7:22:44 PM CEST Alvin Šipraga wrote: > From: Alvin Šipraga > > While the script correctly extracts UTF-8 encoded names from the > MAINTAINERS file, the regular expressions damage my name when parsing > from .yaml files. Fix this by replacing the Latin-1-compatible regular > expressions with the unicode property matcher \p{Latin}. It's also > necessary to instruct Perl to open all files with UTF-8 encoding. > > The issue was also identified on the b4 mailing list [1]. This should > solve the observed side effects there as well. > > Link: https://lore.kernel.org/all/20230726-gush-slouching-a5cd41@meerkat/ [1] > Signed-off-by: Alvin Šipraga > --- > scripts/get_maintainer.pl | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) Tested-by: Duje Mihanović