문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 다음 판 | 이전 판 | ||
| develop:perl:excel [2007/09/24 02:18] – 새로 만듬 starlits | develop:perl:excel [2025/10/03 22:30] (현재) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| 줄 35: | 줄 35: | ||
| } | } | ||
| } | } | ||
| + | </ | ||
| + | |||
| + | ===== Excel에서 한글 데이타 읽기 ===== | ||
| + | - 아래와 같이 서두에 encoding 설정을 하면 된다. | ||
| + | <code perl> | ||
| + | # | ||
| + | # | ||
| + | # starlits at adminschool.net | ||
| + | # excel cell reading (korean) | ||
| + | # | ||
| + | |||
| + | use strict; | ||
| + | use Spreadsheet:: | ||
| + | use Spreadsheet:: | ||
| + | |||
| + | my $encoding = " | ||
| + | my $oExcel = new Spreadsheet:: | ||
| + | |||
| + | my $oFmt = Spreadsheet:: | ||
| + | my $oBook = $oExcel-> | ||
| + | |||
| + | ... | ||
| </ | </ | ||