[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6c38d5e6-b1aa-8e2f-6e4a-733c34c1d106@suse.cz>
Date:   Fri, 4 Nov 2016 11:29:11 +0100
From:   Jiri Slaby <jslaby@...e.cz>
To:     akpm@...ux-foundation.org
Cc:     linux-kernel@...r.kernel.org, Joe Perches <joe@...ches.com>
Subject: Re: [PATCH] scripts: get_maintainer.pl, remove \xa0 from the script
On 11/04/2016, 11:27 AM, Jiri Slaby wrote:
> My perl v5.24.0 complains when running the get_maintainer.pl script as
> follows:
> Unrecognized character \xA0; marked by <-- HERE after <-- HERE near column 1 at ./scripts/get_maintainer.pl line 277.
> 
> It is weird to have ascii non-breaking spaces in a script, so do:
> s/\xa0/ /g
> 
> Signed-off-by: Jiri Slaby <jslaby@...e.cz>
> Cc: Joe Perches <joe@...ches.com>
> ---
>  scripts/get_maintainer.pl | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
> index 96cd97bcec4b..633f2dd3de27 100755
> --- a/scripts/get_maintainer.pl
> +++ b/scripts/get_maintainer.pl
> @@ -274,7 +274,7 @@ $output_rolestats = 1 if ($interactive);
>  $output_roles = 1 if ($output_rolestats);
>  
>  if ($sections || $letters ne "") {
> -����$sections = 1;
Too bad to use utf-8 encoding here. I have sent an iso-8859-2 variant in
the other mail.
thanks,
-- 
js
suse labs
Powered by blists - more mailing lists