Domanda

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

È stato utile?

Soluzione

I think it is not possible. Take a look here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top