0

When I am trying to send the JSON string {"value" : "aériennes"} from one service to other it's throwing me following exception:

Could not read JSON document: Invalid UTF-8 middle byte 0x62 

I have tried all the things showed in this URL: JSON character encoding

Can anyone help me out with this?

Gholamali Irani
  • 4,391
  • 6
  • 28
  • 59
Mike
  • 51
  • 1
  • 1
  • 3
  • 1
    I suspect the problem is somewhere in either the sending or receiving code - but you haven't shown us *any* code, so we don't know what either the sender or receiver looks like. – Jon Skeet Jan 16 '18 at 16:56
  • Have you searched Stack Overflow for this problem. here is one https://stackoverflow.com/questions/6352861/jackson-jsonparseexception-invalid-utf-8-middle-byte – bhantol Jan 16 '18 at 16:57
  • 1
    Please show us your code. – Sean Francis N. Ballais Jan 16 '18 at 16:58
  • Also check your file encoding `System.out.println(System.getProperty("file.encoding"));` I suspect it is something else. – bhantol Jan 16 '18 at 17:02

0 Answers0