I am using GWT Anchor, but when I pass a url encoded string to the setHref function, the browser displays the link in a decoded format. What's the reason for this? Is there a fix for it?
Anchor a = new Anchor();
a.setHref(URL.encode(someString));
I am using GWT Anchor, but when I pass a url encoded string to the setHref function, the browser displays the link in a decoded format. What's the reason for this? Is there a fix for it?
Anchor a = new Anchor();
a.setHref(URL.encode(someString));