On 28 avr, 16:33, "[email protected]" <[email protected]> wrote:
> My question is how to change Character Encoding in requestBuilder. I
> have managed so far to change Content-Type to "text/x-gwt-rpc" and I
> can't change charset.
>
> I have tried
> RequestBuilder httpbuilder = new RequestBuilder(RequestBuilder.POST,
> URL.encode(url));
> httpbuilder.setHeader("content-Type", "text/x-gwt-rpc");
>
> but now I don't know what header name is for character encoding

httpbuilder.setHeader("content-Type", "text/x-gwt-rpc;
charset=utf-8");

(though i'm not sure what you're trying to do here...)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to