태그 : Perl문자셋변환 요약보기전체보기목록닫기

1

Perl 문자셋 변환(EUC-KR->UTF8)

#!/usr/bin/perl -wuse strict;use Text::Iconv;my $str = "한글변환";my $euckr_to_utf8 = Text::Iconv->new("EUC-KR","UTF8");my $msg = $euckr_to_utf8->convert($str);print "[$msg]\n";
1