That is weird. I'm lost as to why URL encoded characters would be converted to encoded HTML entities. Anyway, if all you are interested in is converting it to Name=Value, take a look at this code.
System.out.println(StringEscapeUtils.unescapeHtml("Name1=Value1"));
Output
Name1=Value1
Where StringEscapeUtils is from the apache commons lang project.