comparison test/TestUTF8.java @ 122:790c8dd42a7b

*** empty log message ***
author kono
date Tue, 26 Aug 2008 16:33:47 +0900
parents 7bf547c009ed
children a187180e0106
comparison
equal deleted inserted replaced
121:80ef604d09dc 122:790c8dd42a7b
98 //System.out.println("string size:"+string.length()); 98 //System.out.println("string size:"+string.length());
99 //System.out.println(string); 99 //System.out.println(string);
100 } 100 }
101 101
102 public static void main(String[] args) throws IOException{ 102 public static void main(String[] args) throws IOException{
103 String text = "あいうえお、かきくけこ、さしすせそ"; 103 String text = "縺ゅ>縺縺医♀縲√°縺阪¥縺代%縲√&縺励☆縺帙◎";
104 REP rep; 104 REP rep;
105 REPCommand utf8buf = new REPCommand(1, 2, 3, 4, 5, 0, text); 105 REPCommand utf8buf = new REPCommand(1, 2, 3, 4, 5, 0, text);
106 REPCommand buf = new REPCommand(1, 2, 3, 4, 5, 0, text); 106 REPCommand buf = new REPCommand(1, 2, 3, 4, 5, 0, text);
107 ByteBuffer buf1,buf2; 107 ByteBuffer buf1,buf2;
108 108