Strange error ; File not in supported encoding (UTF-8)

38 views
Skip to first unread message

Jean-Marc Vanel

unread,
Feb 10, 2010, 3:09:52 PM2/10/10
to rest-client
Hi

This looks like a bug :

URL: http://dbpedia.org/page/Barack_Obama
GET, no headers.

Strange error:

File not in supported encoding (UTF-8)
java.io.IOException: File not in supported encoding (UTF-8)
at org.wiztools.restclient.Util.inputStream2String(Util.java:88)
at
org.wiztools.restclient.HTTPClientRequestExecuter.execute(HTTPClientRequestExecuter.java:
300)
at org.wiztools.restclient.ui.RESTView$25.run(RESTView.java:1012)
Caused by: java.nio.charset.MalformedInputException: Input length = 1
at java.nio.charset.CoderResult.throwException(CoderResult.java:277)
at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:798)
at org.wiztools.restclient.Util.inputStream2String(Util.java:85)
... 2 more

sub...@gmail.com

unread,
Feb 11, 2010, 3:30:14 AM2/11/10
to rest-client
This is a known issue in version 2.3. It is fixed in the trunk code.

Thanks,
Subhash.

Reply all
Reply to author
Forward
0 new messages