I think it is not possible. Take a look here
GWT: encode url with encoding scheme
-
01-06-2022 - |
题
Is it possible to encode a url-parameter using a specific encoding scheme in GWT?
URLEncoder.encode(string, "ISO-8859-1");
works for me in standard java but isn't available in GWT.
URL.encode(string);
encodes in GWT with "UTF-8". An encoding can not be specified
解决方案
不隶属于 StackOverflow