www.pudn.com > DestTest.rar > TT.java


package com.des.test; 
 
public class TT 
{ 
 
	public static void main(String[] args) 
	{ 
		String aa = "_s$,:Nsy?"; 
		 
		byte[] cc  = new byte[]{(byte)' ', (byte)0x0F, (byte)0xF0,(byte)0xff,(byte)0xff,(byte)0xff,(byte)0xff,(byte)0xff};  
		byte[] dd  = new byte[]{ 
				(byte)'|',  
				(byte)'<',  
				(byte)'%', 
				(byte)'?', 
				(byte)'?', 
				(byte)'j', 
				(byte)'?', 
				(byte)'?', 
				(byte)'5', 
				(byte)'}', 
				(byte)'Y', 
				(byte)'?', 
				(byte)'?', 
				(byte)'?', 
				(byte)'?', 
				(byte)'w', 
				(byte)' '}; 
		String c1 = new String(cc); 
		System.out.println("c1:" + c1); 
		byte[] b1 = c1.getBytes(); 
		String bb = new String(b1); 
		byte[] b2 = bb.getBytes(); 
		for (int i = 0; i < b2.length; i++) 
		{ 
			System.out.println(b1[i] + "|" + b2[i]); 
		} 
		for (int i = 0; i < dd.length; i++) 
		{ 
			System.out.println(dd[i] + "|" + dd[i]); 
		} 
	} 
}