language: Java (sun-jdk-1.7.0_10)
date: 431 days 2 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import java.util.*;
import java.lang.*;
import java.net.*;
 
class Main
{
        public static void main (String[] args) throws java.lang.Exception
        {
                String str = "123+>jo";
                String str2 = "http://1.com/23+>jo";
                System.out.println(URLDecoder.decode(URLEncoder.encode(str)));
                System.out.println(URLDecoder.decode(URLEncoder.encode(str2)));
        }
}