-1

I am trying to access a json array using json-simple dependency

productObject.get("description")

productObject is a jsonObject .

Gives me "Bhadohi, the ‘Carpet city of India’" unwanted characters .

In the json file it is "Bhadohi, the ‘Carpet city of India’"

how can I get the actual value as it is in the file.

deon lobo
  • 23
  • 2
  • 1
    Duplicate of ["’" showing on page instead of " ' "](https://stackoverflow.com/questions/2477452/%c3%a2%e2%82%ac-showing-on-page-instead-of) – esqew May 03 '21 at 11:40

1 Answers1

0

Change the IDE encoding to UTF-8 . This solved my problem .

deon lobo
  • 23
  • 2