1*0Sstevel@tonic-gateIf you read this file _as_is_, just ignore the funny characters you 2*0Sstevel@tonic-gatesee. It is written in the POD format (see perlpod manpage) which is 3*0Sstevel@tonic-gatespecially designed to be readable as is. 4*0Sstevel@tonic-gate 5*0Sstevel@tonic-gateThis file is in Korean encoded in EUC-KR. 6*0Sstevel@tonic-gate 7*0Sstevel@tonic-gate�� ������ perldoc�� �Ἥ ���� �ʰ� ���� ���� ��쿡�� �� �κ��� 8*0Sstevel@tonic-gate������ ǥ���ϱ� ���� ���� =head, =item, 'L' ���� �����Ͻʽÿ�. 9*0Sstevel@tonic-gate�� ������ ���� perldoc�� ���� �ʰ� ������ �дµ� �� ������ 10*0Sstevel@tonic-gate���� POD �������� ¥�� �ֽ��ϴ�. �� �ڼ��� ���� perlpod 11*0Sstevel@tonic-gate�Ŵ����� �����Ͻʽÿ�. 12*0Sstevel@tonic-gate 13*0Sstevel@tonic-gate 14*0Sstevel@tonic-gate=head1 NAME 15*0Sstevel@tonic-gate 16*0Sstevel@tonic-gateperlko - Perl�� �ѱ��� ���ڵ� 17*0Sstevel@tonic-gate 18*0Sstevel@tonic-gate=head1 DESCRIPTION 19*0Sstevel@tonic-gate 20*0Sstevel@tonic-gatePerl�� ���迡 ���� ���� ȯ���մϴ� ! 21*0Sstevel@tonic-gate 22*0Sstevel@tonic-gate 23*0Sstevel@tonic-gatePerl�� 5.8.0�Ǻ��� �����ڵ�/ISO 10646�� ���� �������� ������ �մϴ�. 24*0Sstevel@tonic-gate�����ڵ� ������ ��ȯ���� �������� ����� ���� �������� 25*0Sstevel@tonic-gate�����ڵ� ������ ���� �־��� ���ݵ� �θ� ���̰� �ִ� ������ ���ڵ��� 26*0Sstevel@tonic-gate�����մϴ�. �����ڵ�� �� ���迡�� ���̴� ��� �� ���� ǥ�� ü�� - 27*0Sstevel@tonic-gate������ ��ƾ ���ĺ�, Ű�� ���ĺ�, ���� ���ĺ�, �ε��� ���� �ƽþ��� 28*0Sstevel@tonic-gate���� �迭 ��ũ��Ʈ, �ƶ� ����, ���긮 ����, �������� ����, �ѱ����� �ѱ�, 29*0Sstevel@tonic-gate�Ϻ����� ����, �Ϲ� �ε���� ǥ�� ü�� ��-�� �����ϴ� ���� ��ǥ�� �ϰ� 30*0Sstevel@tonic-gate�ֱ� ������ ������ ���̴� �� ��� �� ���� ���� � ü�迡 ������ 31*0Sstevel@tonic-gate���� ���հ� ���ڵ��� �� �� �ִ� ��� ���ڴ� �����̰� ���� ���� ���տ��� 32*0Sstevel@tonic-gate�����ϰ� ���� �ʴ� ���� ���� ���ڸ� �����ϰ� �ֽ��ϴ�. 33*0Sstevel@tonic-gate 34*0Sstevel@tonic-gate 35*0Sstevel@tonic-gatePerl�� ���������� �����ڵ带 ���� ǥ���� ���� ����մϴ�. ���� ��ü������ 36*0Sstevel@tonic-gate���ϸ� Perl ��ũ��Ʈ �ȿ��� UTF-8 ���ڿ��� �� �� �ְ�, 37*0Sstevel@tonic-gate���� �Լ��� ������(���� ���, ���Խ�, index, substr)�� ����Ʈ ���� 38*0Sstevel@tonic-gate��� �����ڵ� ���� ������ �����մϴ�. (�� �ڼ��� ���� 39*0Sstevel@tonic-gateperlunicode �Ŵ����� �����Ͻʽÿ�.) �����ڵ尡 �θ� ���DZ� ���� 40*0Sstevel@tonic-gate�θ� ���̰� �־���, ������ �θ� ���̰� �ִ� ����/�� �� ���ڵ����� 41*0Sstevel@tonic-gate������� �ϰ� �̵� ���ڵ����� �� �����Ϳ� ������ �ٷ�� ���� ���� ���� 42*0Sstevel@tonic-gate'Encode'�� �������ϴ�. �������� 'Encode'�� �Ἥ ������ ���ڵ� ������ 43*0Sstevel@tonic-gate��ȯ�� ���� �� �� �ֽ��ϴ�. 44*0Sstevel@tonic-gate 45*0Sstevel@tonic-gate'Encode'�� ������ ���� �ѱ��� ���ڵ��� �����մϴ�. 46*0Sstevel@tonic-gate 47*0Sstevel@tonic-gate=over 4 48*0Sstevel@tonic-gate 49*0Sstevel@tonic-gate=item euc-kr 50*0Sstevel@tonic-gate 51*0Sstevel@tonic-gate US-ASCII�� KS X 1001�� ���� ���� ��Ƽ����Ʈ ���ڵ� (���� �ϼ����̶�� 52*0Sstevel@tonic-gate �Ҹ�.) KS X 2901�� RFC 1557 ����. 53*0Sstevel@tonic-gate 54*0Sstevel@tonic-gate=item cp949 55*0Sstevel@tonic-gate 56*0Sstevel@tonic-gate MS-Windows 9x/ME���� ���̴� Ȯ�� �ϼ���. euc-kr�� 8,822���� 57*0Sstevel@tonic-gate �ѱ� ������ ���� ����. alias�� uhc, windows-949, x-windows-949, 58*0Sstevel@tonic-gate ks_c_5601-1987. �� ������ �̸��� �������� ���� �̸�������, Microsoft 59*0Sstevel@tonic-gate ��ǰ���� CP949�� �ǹ̷� ���̰� ����. 60*0Sstevel@tonic-gate 61*0Sstevel@tonic-gate=item johab 62*0Sstevel@tonic-gate 63*0Sstevel@tonic-gate KS X 1001:1998 �η� 3���� ������ ������. ���� �����丮�� cp949�� 64*0Sstevel@tonic-gate ���������� US-ASCII�� KS X 1001�� 8,822���� �ѱ� ������ ���� ����. 65*0Sstevel@tonic-gate ���ڵ� ����� ���� �ٸ�. 66*0Sstevel@tonic-gate 67*0Sstevel@tonic-gate=item iso-2022-kr 68*0Sstevel@tonic-gate 69*0Sstevel@tonic-gate RFC 1557���� ������ �ѱ��� ���ͳ� ���� ��ȯ�� ���ڵ����� US-ASCII�� 70*0Sstevel@tonic-gate KS X 1001�� �����丮�� �ϴ� ������ euc-kr�� ������ ���ڵ� ����� �ٸ�. 71*0Sstevel@tonic-gate 1997-8�� ����� �������� �� �̻� ���� ��ȯ�� ������ ����. 72*0Sstevel@tonic-gate 73*0Sstevel@tonic-gate=item ksc5601-raw 74*0Sstevel@tonic-gate 75*0Sstevel@tonic-gate KS X 1001(KS C 5601)�� GL(��, MSB�� 0���� �� ���) �� ������ ���� 76*0Sstevel@tonic-gate ���ڵ�. US-ASCII�� �������� �ʰ� �ܵ����� ���̴� ���� X11 ��� �۲� 77*0Sstevel@tonic-gate ���ڵ� (ksc5601.1987-0. '0'�� GL�� �ǹ���.)���� ���̴� ���� �����ϰ�� 78*0Sstevel@tonic-gate ���� ����. KS C 5601�� 1997�� KS X 1001�� �̸��� �ٲپ���. 1998��� �� 79*0Sstevel@tonic-gate ���� (����ȭ ��ȣ�� ��� ��ǥ ��ȣ)�� ��������. 80*0Sstevel@tonic-gate 81*0Sstevel@tonic-gate=back 82*0Sstevel@tonic-gate 83*0Sstevel@tonic-gate �� ���� ��� ������ �Ʒ��� ���Դϴ�. 84*0Sstevel@tonic-gate 85*0Sstevel@tonic-gate���� ���, euc-kr ���ڵ����� �� ������ UTF-8�� ��ȯ�Ϸ��� ������ 86*0Sstevel@tonic-gate���� �ϸ� �˴ϴ�. 87*0Sstevel@tonic-gate 88*0Sstevel@tonic-gate 89*0Sstevel@tonic-gate perl -Mencoding=euc-kr,STDOUT,utf8 -pe1 < file.euckr > file.utf8 90*0Sstevel@tonic-gate 91*0Sstevel@tonic-gate����ȯ�� ������ ���� �� �� �ֽ��ϴ�. 92*0Sstevel@tonic-gate 93*0Sstevel@tonic-gate perl -Mencoding=utf8,STDOUT,euc-kr -pe1 < file.utf8 > file.euckr 94*0Sstevel@tonic-gate 95*0Sstevel@tonic-gate �̷� ��ȯ�� ���� ���ϰ� �� �� �ֵ��� Encode ����� �Ἥ 96*0Sstevel@tonic-gate�����ϰ� Perl�θ� ���� piconv�� Perl�� ��� �ֽ��ϴ�. 97*0Sstevel@tonic-gate�� �̸����� �� �� �ֵ��� piconv�� Unix�� �ִ� iconv�� 98*0Sstevel@tonic-gate�� �� ���Դϴ�. �� ������ �Ʒ��� �����ϴ�. 99*0Sstevel@tonic-gate 100*0Sstevel@tonic-gate piconv -f euc-kr -t utf8 < file.euckr > file.utf8 101*0Sstevel@tonic-gate piconv -f utf8 -t euc-kr < file.utf8 > file.euckr 102*0Sstevel@tonic-gate 103*0Sstevel@tonic-gate ��, 'PerlIO::encoding' ����� �Ἥ �ѱ��� ���ڵ��� ���鼭 ���� ���� 104*0Sstevel@tonic-gate(����Ʈ ������ �ƴ϶�) ó���� ���� �� �� �ֽ��ϴ�. 105*0Sstevel@tonic-gate 106*0Sstevel@tonic-gate #!/path/to/perl 107*0Sstevel@tonic-gate 108*0Sstevel@tonic-gate use encoding 'euc-kr', STDIN => 'euc-kr', 109*0Sstevel@tonic-gate STDOUT-> 'euc-kr', STDERR=>'euc-kr'; 110*0Sstevel@tonic-gate 111*0Sstevel@tonic-gate print length("����"); # 2 (ū ����ǥ�� ���� ���� ó���� ����) 112*0Sstevel@tonic-gate print length('����'); # 4 (���� ����ǥ�� ����Ʈ ���� ó���� ����) 113*0Sstevel@tonic-gate print index("�Ѱ�, �뵿��", "��"); # -1 ('��'�� ����) 114*0Sstevel@tonic-gate print index('�Ѱ�, �뵿��', '��'); # 7 (8��°�� 9��° ����Ʈ�� '��'�� 115*0Sstevel@tonic-gate �ڵ尪�� ��ġ��.) 116*0Sstevel@tonic-gate 117*0Sstevel@tonic-gate 118*0Sstevel@tonic-gate=head2 �� �ڼ��� �˰� ������... 119*0Sstevel@tonic-gate 120*0Sstevel@tonic-gate Perl�� ��ġ�ϸ� ����� �ڼ��� ������ ���� ���� ����, �� ������ ���� 121*0Sstevel@tonic-gatePerl ���� �� �ƴ϶� �����ڵ� ����, Encode�� ���� � ���� ���� 122*0Sstevel@tonic-gate��� �� �ֽ��ϴ�. ���� �� ������ ���� ��� ����� ���� �ֽ��ϴ�. 123*0Sstevel@tonic-gate 124*0Sstevel@tonic-gate 125*0Sstevel@tonic-gate=head2 Perl ���� �ڷ� 126*0Sstevel@tonic-gate 127*0Sstevel@tonic-gate������ ����� ���� �ܿ��� ������ ���� �ڷᰡ �ֽ��ϴ�. �� ����� ���� 128*0Sstevel@tonic-gate������ ���� �ƴϰ� �Ϻ� ��ǥ���� �� ���� ���Դϴ�. 129*0Sstevel@tonic-gate 130*0Sstevel@tonic-gate=over 4 131*0Sstevel@tonic-gate 132*0Sstevel@tonic-gate=item L<http://www.perl.com/> 133*0Sstevel@tonic-gate 134*0Sstevel@tonic-gate O'Reilly�� Perl �� ������ 135*0Sstevel@tonic-gate 136*0Sstevel@tonic-gate=item L<http://www.cpan.org/> 137*0Sstevel@tonic-gate 138*0Sstevel@tonic-gate Comprehensive Perl Archive Network 139*0Sstevel@tonic-gate 140*0Sstevel@tonic-gate=item L<http://lists.perl.org/> 141*0Sstevel@tonic-gate 142*0Sstevel@tonic-gate Perl ���ϸ� ����Ʈ. ���� ����Ʈ ��� 143*0Sstevel@tonic-gate perl-unicode���� 'Encode'�� ���� ������. 144*0Sstevel@tonic-gate 145*0Sstevel@tonic-gate=back 146*0Sstevel@tonic-gate 147*0Sstevel@tonic-gate=head2 Perl�� �� ��� �����ϴµ� ������ �� �� �ִ� �ѱ��� ���� ����Ʈ 148*0Sstevel@tonic-gate 149*0Sstevel@tonic-gate=over 4 150*0Sstevel@tonic-gate 151*0Sstevel@tonic-gate=item L<http://www.perl.or.kr/> 152*0Sstevel@tonic-gate 153*0Sstevel@tonic-gate Perl �ѱ� ����� ���� 154*0Sstevel@tonic-gate 155*0Sstevel@tonic-gate=item L<news:han.comp.lang.perl/> 156*0Sstevel@tonic-gate 157*0Sstevel@tonic-gate �ѱ��� Perl ���� �� 158*0Sstevel@tonic-gate 159*0Sstevel@tonic-gate=item L<http://seoul.pm.org/> 160*0Sstevel@tonic-gate 161*0Sstevel@tonic-gate Perl ���Ž� (����) 162*0Sstevel@tonic-gate 163*0Sstevel@tonic-gate=item L<http://www.perlmania.or.kr/> 164*0Sstevel@tonic-gate 165*0Sstevel@tonic-gate Home for Korean Perlmanias 166*0Sstevel@tonic-gate 167*0Sstevel@tonic-gate=item L<http://www.oreilly.co.kr/perl/> 168*0Sstevel@tonic-gate 169*0Sstevel@tonic-gate O'Reilly���� ���� �ѱ��� Perl ���� ��� 170*0Sstevel@tonic-gate 171*0Sstevel@tonic-gate=item L<http://www.perlschool.net/> 172*0Sstevel@tonic-gate 173*0Sstevel@tonic-gate Perl ���� ���� �� �ҽ�, �ֱ� ����, ���� �ؿ� ����Ʈ ��ũ 174*0Sstevel@tonic-gate 175*0Sstevel@tonic-gate=item L<http://www.perl.co.kr> 176*0Sstevel@tonic-gate 177*0Sstevel@tonic-gate Perl�� ���õ� CGI, DB, ���� � ���� ���� �� ���� ���� 178*0Sstevel@tonic-gate 179*0Sstevel@tonic-gate=back 180*0Sstevel@tonic-gate 181*0Sstevel@tonic-gate=head2 �����ڵ� �� �ѱ��� ���ڵ� ���� �ڷ� 182*0Sstevel@tonic-gate 183*0Sstevel@tonic-gate=over 4 184*0Sstevel@tonic-gate 185*0Sstevel@tonic-gate=item L<http://www.unicode.org/> 186*0Sstevel@tonic-gate 187*0Sstevel@tonic-gate �����ڵ� ���ҽþ�. 188*0Sstevel@tonic-gate 189*0Sstevel@tonic-gate=item L<http://std.dkuug.dk/JTC1/SC2/WG2> 190*0Sstevel@tonic-gate 191*0Sstevel@tonic-gate�⺻������ Unicode�� ���� ISO ǥ���� ISO/IEC 10646 UCS(Universal 192*0Sstevel@tonic-gateCharacter Set)�� ����� ISO/IEC JTC1/SC2/WG2�� �� ������. 193*0Sstevel@tonic-gate 194*0Sstevel@tonic-gate=item L<http://jshin.net/faq/qa8.html> 195*0Sstevel@tonic-gate 196*0Sstevel@tonic-gate �ѱ��� ���� ���� �� ���ڵ��� ���� �ȳ�. 197*0Sstevel@tonic-gate 198*0Sstevel@tonic-gate=item L<http://www.cl.cam.ac.uk/~mgk25/unicode.html> 199*0Sstevel@tonic-gate 200*0Sstevel@tonic-gate ���н�/���������� �����ڵ�� UTF-8 ��뿡 ���� ������(FAQ) 201*0Sstevel@tonic-gate 202*0Sstevel@tonic-gate=item L<http://kldp.org/Translations/html/UTF8-Unicode-KLDP/UTF8-Unicode-KLDP.html> 203*0Sstevel@tonic-gate 204*0Sstevel@tonic-gate ���н�/���������� �����ڵ�� UTF-8 ��뿡 ���� ������(FAQ)�� �ѱ��� ���� 205*0Sstevel@tonic-gate 206*0Sstevel@tonic-gate=back 207*0Sstevel@tonic-gate 208*0Sstevel@tonic-gate=head1 SEE ALSO 209*0Sstevel@tonic-gate 210*0Sstevel@tonic-gateL<Encode>, L<Encode::KR>, L<encoding>, L<perluniintro>, L<perlunicode> 211*0Sstevel@tonic-gate 212*0Sstevel@tonic-gate 213*0Sstevel@tonic-gate=head1 AUTHORS 214*0Sstevel@tonic-gate 215*0Sstevel@tonic-gateJarkko Hietaniemi E<lt>jhi@iki.fiE<gt> 216*0Sstevel@tonic-gate������ E<lt>jshin@mailaps.orgE<gt> 217*0Sstevel@tonic-gate 218*0Sstevel@tonic-gate=cut 219