[Omaha.pm] garbage in perldoc (dashes become â characters, etc.)

Jay Hannah jhannah at omnihotels.com
Mon Apr 16 09:55:15 PDT 2007


Looks like the default LANG environment variable in SuSE 10 Enterprise 

   LANG=en_US.UTF-8

Makes perldoc unreadable...

------------
perldoc perl

NAME
       perl â Practical Extraction and Report Language

SYNOPSIS
       perl [ âsTuU ] [ âhv ] [ âV[:configvar] ]
           [ âcw ] [ âd[:debugger] ] [ âD[number/list] ]
           [ âpna ] [ âFpattern ] [ âl[octal] ] [ â0[octal] ]
           [ âIdir ] [ âm[â]module ] [ âM[â]âmodule...â ]
           [ âP ] [ âS ] [ âx[dir] ]
------------

If you 

   export LANG=en_US 

(or "unset LANG") then everything is fine.

$0.02,

j


More information about the Omaha-pm mailing list