Messages in this thread | | | From | Duje Mihanović <> | Subject | Re: [PATCH] get_maintainer: correctly parse UTF-8 encoded names in files | Date | Mon, 16 Oct 2023 16:37:26 +0200 |
| |
On Saturday, October 14, 2023 7:22:44 PM CEST Alvin Šipraga wrote: > From: Alvin Šipraga <alsi@bang-olufsen.dk> > > 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 <alsi@bang-olufsen.dk> > --- > scripts/get_maintainer.pl | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-)
Tested-by: Duje Mihanović <duje.mihanovic@skole.hr>
| |