How to encode GET parameter to iso-8859-1?

2008-06-09 Thread Bas Schulte
Hi, I need to encode my parameters in a GET request to a given host in iso-8859-1. How would I go about that with httpclient (3.1)? There's EncodingUtil.getBytes that gives me a byte[]: String messageData = blah; byte[] bytes = EncodingUtil.getBytes(messageData, iso-8859-1); How do I feed

Re: How to encode GET parameter to iso-8859-1?

2008-06-09 Thread Oleg Kalnichevski
On Mon, 2008-06-09 at 18:51 +0200, Bas Schulte wrote: Hi, I need to encode my parameters in a GET request to a given host in iso-8859-1. How would I go about that with httpclient (3.1)? There's EncodingUtil.getBytes that gives me a byte[]: String messageData = blah; byte[] bytes =