DecoderTest

package com.test.url;

import java.net.URLDecoder;

public class DecoderTest
{

	public static void main(String[] args)throws Exception
	{
		String str = "C%3A%5CDocuments+and+Settings%5Czhanglong%5C%D7%C0%C3%E6%5CNOTICE.txt";
		
		String result = URLDecoder.decode(str,"gbk");
		
		System.out.println(result);
	}

}




你可能感兴趣的:(java,C++,c,.net,C#)