Closed GoogleCodeExporter closed 8 years ago
Could you attach the JSON file?
Original comment by fangyid...@gmail.com
on 30 Jul 2013 at 3:41
attached is input file. File is created using Notepad++ with UTF-8 encoding
JSONParser parser = new JSONParser();
Object obj = parser.parse(new FileReader("D:/emp.txt"));
it is giving error
Unexpected character (ï) at position 0.
Original comment by grvmerat...@gmail.com
on 31 Jul 2013 at 11:43
Attachments:
You may have an incorrect UTF-8 BOM in your file.I am attaching the correct
file format. You may want to compare these 2 files in hex mode.
Original comment by fangyid...@gmail.com
on 8 Aug 2013 at 11:36
Attachments:
Additional note: this is caused by the additional BOM (EF BB BF) in the
beginning.Please un-check the "BOM" option (if any) when you save your file.
Original comment by fangyid...@gmail.com
on 8 Aug 2013 at 11:48
Original issue reported on code.google.com by
grvmerat...@gmail.com
on 30 Jul 2013 at 1:59