Please user ML for such questions 
http://docs.ofbiz.org/display/OFBADMIN/Mailing+Lists

Thanks

Jacques

De : "Sachin Kolpuke" <[EMAIL PROTECTED]>
> Dear All;
>              Please help me to resolve the error 
> "UnsupportedEncodingException".
>
> I am posting an xml request to a server,
>
> HttpClient client = new HttpClient(url);
> String response = client.post(xmlString);
>
> The server gives response in the format of "UTF-8".  OfBiz does not support 
> the character encoding "UTF-8", it gives following
error
>
> java.io.UnsupportedEncodingException: "UTF-8"
> at sun.io.Converters.getConverterClass(Converters.java:215)
> at sun.io.Converters.newConverter(Converters.java:248)
> at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:64)
> at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:223)
> at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:209)
> at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:76)
> at java.io.InputStreamReader.<init>(InputStreamReader.java:83)
> at org.ofbiz.base.util.HttpClient.sendHttpRequest(HttpClient.java:317)
> at org.ofbiz.base.util.HttpClient.post(HttpClient.java:197)
> at SimpleHttpClient.main(SimpleHttpClient.java:39)
>
>
>
> Thanks and Regards;
> Sachin
>
>
>
>
>

Reply via email to