From: NARUSE, Yui Date: Thu, 4 Nov 2004 11:47:37 +0000 (+0000) Subject: add some tests for Unicode X-Git-Tag: v2_0_6_beta2~92 X-Git-Url: http://git.sourceforge.jp/view?p=nkf%2Fnkf.git;a=commitdiff_plain;h=e29866d56d8370c0dd56818f65eb9f119a60b550 add some tests for Unicode --- diff --git a/nkf_test.pl b/nkf_test.pl index 6a6ef94..4506950 100644 --- a/nkf_test.pl +++ b/nkf_test.pl @@ -1,6 +1,9 @@ #!/usr/local/bin/perl # -# nkf test program for nkf 1.7 +# nkf test program for nkf 2.0 +# +# $Id: nkf_test.pl,v 1.5 2004/11/04 02:47:37 naruse Exp $ +# # Shinji KONO # Sun Aug 18 12:25:40 JST 1996 # Sun Nov 8 00:16:06 JST 1998 @@ -40,13 +43,47 @@ MI?*E\R!+:6=O=2"AIJ'GH["CP:;!IMBGHJ?!J,`* eofeof -$example{'utf'} = unpack('u',<<'eofeof'); +$example{'utf8'} = unpack('u',<<'eofeof'); +M[[N_1FER(A#_(?^Q`\D#$00O!$(E"@`` +eofeof + +$example{'u16L0'} = unpack('u',<<'eofeof'); +M1@!I`'(`