Invalid byte 1 of 1-byte UTF-8 sequence my error is the above line.am using am calling java method using Blaze DS.
+1
A:
not enough details in the question.
my guess, looks like you are trying to read something as UTF-8 encoded and it is not valid UTF-8 encoded.
Ravindra
2010-05-25 13:26:58
+1
A:
Your XML document has a BOM marker, because it was created with a Windows program.
Java does not support this out of the box.
Regarding BOM: http://www.unicode.org/faq/utf_bom.html
So either make sure your XML Document has no BOM marker, (if it is your ds config file), or use something like this in your InputStream:
(not my code) http://koti.mbnet.fi/akini/java/unicodereader/UnicodeInputStream.java.txt
Usage pattern:
String enc = "ISO-8859-1"; // or NULL to use systemdefault
FileInputStream fis = new FileInputStream(file);
UnicodeInputStream uin = new UnicodeInputStream(fis, enc);
enc = uin.getEncoding(); // check and skip possible BOM bytes
InputStreamReader in;
if (enc == null) in = new InputStreamReader(uin);
else in = new InputStreamReader(uin, enc);
Soraz
2010-05-25 13:29:46
A:
Hi Nithi Make sure that "remoting-config.xml" destination id and source name are correct.
Rajesh
2010-05-25 14:07:50