import java.net.URLEncoder; public class MainClass { public static void main(String[] args) throws Exception { System.out.println(URLEncoder.encode("A=B=C=D=E", "UTF-8")); } }
A%3DB%3DC%3DD%3DE