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

有帮助吗?

解决方案

I think it is not possible. Take a look here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top