タイムゾーンを JST-9 に設定
# cp /usr/share/zoneinfo/Japan /etc/localtime
「enc2xs -C というコマンドを実行して、Encode/ConfigLocal.pmを生成すればいいようです。」
# enc2xs -C
require Encode::Detect;
require Encode::Detect::Detector;
require Encode::Detect;
require Encode::Detect::Detector;
require Encode::Detect;
require Encode::Detect::Detector;
require Encode;
require Encode::Config;
require Encode::Unicode;
require Encode::Symbol;
require Encode::TW;
require Encode::CJKConstants;
require Encode::GSM0338;
require Encode::JP;
require Encode::Encoding;
require Encode::CN;
require Encode::Encoder;
require Encode::Alias;
require Encode::Byte;
require Encode::EBCDIC;
require Encode::KR;
require Encode::Guess;
require Encode::KR::2022_KR;
require Encode::MIME::Header;
require Encode::MIME::Name;
require Encode::MIME::Header::ISO_2022_JP;
require Encode::CN::HZ;
require Encode::JP::JIS7;
require Encode::JP::H2Z;
require Encode::Unicode::UTF7;
require Encode::KR::2022_KR;
require Encode::MIME::Header;
require Encode::MIME::Header::ISO_2022_JP;
require Encode::CN::HZ;
require Encode::JP::JIS7;
require Encode::JP::H2Z;
require Encode::Unicode::UTF7;
require Encode;
require Encode::Config;
require Encode::Unicode;
require Encode::Symbol;
require Encode::TW;
require Encode::CJKConstants;
require Encode::GSM0338;
require Encode::JP;
require Encode::Encoding;
require Encode::CN;
require Encode::Encoder;
require Encode::Alias;
require Encode::Byte;
require Encode::EBCDIC;
require Encode::KR;
require Encode::Guess;
require Encode::KR::2022_KR;
require Encode::MIME::Header;
require Encode::MIME::Name;
require Encode::MIME::Header::ISO_2022_JP;
require Encode::CN::HZ;
require Encode::JP::JIS7;
require Encode::JP::H2Z;
require Encode::Unicode::UTF7;
$Encode::ExtModule{'Detect'} = "Encode::Detect";
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode
/usr/lib/perl5/5.8.8/Encode
Generating /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode/ConfigLocal.pm...