perlで文字化けしないエクセル入力
use Spreadsheet::ParseExcel; use Spreadsheet::ParseExcel::FmtJapan2; my $oExcel = new Spreadsheet::ParseExcel; my $oFmtJ = Spreadsheet::ParseExcel::FmtJapan->new(Code => 'CP932'); my $oBook = $oExcel->Parse("waritofutuuno.xls", $oFmtJ);
sjis だと化けるIIとかが化ける。
CP932 って書いとく。
FmtJapan2 は FmtJapan でも可
FreeBSD4系はUnicodeMap を体内に持ってないから多分無理