aboutsummaryrefslogtreecommitdiffstats
path: root/doc/perlnoutf.pl
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2020-07-09 10:17:59 -0700
committerAnders Broman <a.broman58@gmail.com>2020-07-10 06:29:21 +0000
commit3b86e04c2da9c74c3ce2783b33901fd8ba2bfb3d (patch)
treef730e68c3f63be8ecfca7b8bb4bf18aa2090cd29 /doc/perlnoutf.pl
parent770872790d80502f172d8df586e843f3f31c00c7 (diff)
Doc: Have make-authors*.pl explicitly use UTF-8.
Our authors lists and man pages are encoded as UTF-8 and have been for quite a while. Remove perlnoutf.pl and ensure that standard I/O uses UTF-8 as described at https://www.perl.com/pub/2012/05/perlunicook-make-all-io-default-to-utf-8.html/ Change-Id: I7016ec5e3a12934463b43bcfdde2c424069c20ac Reviewed-on: https://code.wireshark.org/review/37817 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'doc/perlnoutf.pl')
-rwxr-xr-xdoc/perlnoutf.pl22
1 files changed, 0 insertions, 22 deletions
diff --git a/doc/perlnoutf.pl b/doc/perlnoutf.pl
deleted file mode 100755
index 8a6fea3395..0000000000
--- a/doc/perlnoutf.pl
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/perl -w
-# Call another Perl script, passing our caller's arguments, with
-# environment variables unset so perl doesn't interpret bytes as UTF-8
-# characters.
-#
-# Copyright 2004 Graeme Hewson <ghewson@wormhole.me.uk>
-#
-# Wireshark - Network traffic analyzer
-# By Gerald Combs <gerald@wireshark.org>
-# Copyright 1998 Gerald Combs
-#
-# SPDX-License-Identifier: GPL-2.0-or-later
-#
-
-use strict;
-
-delete $ENV{LANG};
-delete $ENV{LANGUAGE};
-delete $ENV{LC_ALL};
-delete $ENV{LC_CTYPE};
-
-system("$^X -w @ARGV");