On Wed, 2006-03-01 at 17:42 +0530, Chaitanya Ravi wrote:
> Even the post doesn't work. Its the same way.
>
What specifically does not work?
> The only way to help sending unicode characters is to send it as
> bytearray.Am not finding any method to do it :(
>
> Can the developers add something like methodBase.setQueryStrin(byte[]) ?
>
What for? Just URL encode query strings that contain non ASCII
characters if you insist on sending the request body in the query
string.
> Meanwhile can someone suggest workaround ?
>
What you are trying to do makes no sense. Just use POST.
Oleg
>
>
> On 3/1/06, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote:
> >
> > On Wed, 2006-03-01 at 15:11 +0530, Chaitanya Ravi wrote:
> > > Hi
> > >
> > > I wan tot send the query as the byte array since my query string
> > includes
> > > unicode characters. How can i do this ?
> > >
> > > GetMethod method = new GetMethod("/Sponsor");
> > > method.setQueryString(" I send xml string here");
> > >
> > > But if i have unicode characters in the xmlstring, they don't get sent
> > > properly. So, i want to convert the xml string into byte array and send
> > it
> > > to my server.
> > >
> > > Please help
> >
> > Why not just use POST?
> >
> > Oleg
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]