Dear Sachin;
               UTF-8 is supported in ofbiz and that is why ofbiz supports
nearly all languages ranging from English to Hindi, Gujrati, Chinese as
well. Maybe there are some settings that u need to so.

Thanks and Regards;
Vikash Anand.

On 8/29/07, Sachin Kolpuke <[EMAIL PROTECTED]> wrote:
>
> 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