Actually, it seems that the decode(string) method is deprecated? http://stackoverflow.com/questions/6519746/url-decode-in-java-6