سؤال

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