package com.allinpay.demo;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

public class Test {
 public static void main(String args[]) { 
	 boolean s = false;
	 String t ="KARY (HONG KONG) SUPPLY CHAIN MANAGEMENT CO., LIMITED";
	/*String rrString="<?xml version=\"1.0\" encoding=\"GBK\"?><AIPG><INFO><TRX_CODE>100011</TRX_CODE><VERSION>04</VERSION><DATA_TYPE>2</DATA_TYPE><LEVEL>5</LEVEL><USER_NAME>20060400000557204</USER_NAME><USER_PASS>******</USER_PASS><REQ_SN>200604000005572-1526461966649</REQ_SN><SIGNED_MSG>4dafb2bf58a426066fd310880ac25402e68817c5cb4b8abd293361cc6586ed50109b7a28df89fd977e2ffa583ea11d8b5c028bc13f860fb099b326c41b5b3c34654108e894e8642df2f4f7cbc2b4a0cf95f7647ec5883d6ef9eb37775cf2e8420ee1fb1e13dc0ff8bac40d620d20fe482742f37fb1c9b32876f4e073e8352f86</SIGNED_MSG></INFO><TRANS><BUSINESS_CODE>19900</BUSINESS_CODE><MERCHANT_ID>200604000005572</MERCHANT_ID><SUBMIT_TIME>20181121094046</SUBMIT_TIME><BANK_CODE>0103</BANK_CODE><ACCOUNT_NO>62284806889866056756</ACCOUNT_NO><ACCOUNT_NAME>???</ACCOUNT_NAME><ACCOUNT_PROP>0</ACCOUNT_PROP><AMOUNT>1000</AMOUNT><CURRENCY></CURRENCY><TEL>13037022612</TEL><CUST_USERID></CUST_USERID><REMARK>test</REMARK></TRANS></AIPG>";
	try {
		bString=new String("土肥圆".getBytes("UTF-8"),"GBK");
		 s=rrString.equals(new String(rrString.getBytes("GBK"), "GBK"));
	} catch (UnsupportedEncodingException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
		
	}*/
	 String t1 ="3046022100ddfa0feb25717e482ba2cf513b5e2f1da3a0d873e26e8a298c980439beb319ee02210082cec6791bc53e95d08b360b6406de0def04f33af706beb05b0fa34b9ed32d47";
	/*try {
		t1 = URLDecoder.decode("%C7%A9%D4%BC%B3%C9%B9%A6", "GBK");
	} catch (UnsupportedEncodingException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}*/
     System.out.println(t1.length());
	/*System.out.println(bString.length());*/
	
	 
 }}
