From cf61961914b73672394f52dda8209fb7c484e5fe Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Mon, 7 Jan 2008 14:59:12 +0000 Subject: * changed (and hopefully improved) fix for locale-problems that lead to strange characters being used when invoking any script with the '--man' option. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1445 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/slxos-plugin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os-plugins/slxos-plugin') diff --git a/os-plugins/slxos-plugin b/os-plugins/slxos-plugin index e6cf8071..527fe715 100755 --- a/os-plugins/slxos-plugin +++ b/os-plugins/slxos-plugin @@ -45,9 +45,9 @@ GetOptions( or pod2usage(2); pod2usage(-msg => $abstract, -verbose => 0, -exitval => 1) if $helpReq; if ($manReq) { - $ENV{LANG} = 'en_EN'; # avoid dubious problem with perldoc in combination with UTF-8 that # leads to strange dashes and single-quotes being used + $ENV{LC_MESSAGES} = 'POSIX'; pod2usage(-verbose => 2); } if ($versionReq) { -- cgit v1.2.3-55-g7522