CS/Shell/Perl/Python

[PERL] UTF-8 encoding 으로 파일에 쓰기

amiz 2010. 8. 17. 01:30
참고 
: http://aero.springnote.com/pages/1053508
: http://www.ahinea.com/en/tech/perl-unicode-struggle.html

문자(옥텟)열을 저장하기 위해 파일을 열 때 UTF-8로 encoding을 지정

open(FILE, ">:encoding(UTF-8)", "data");