deon lobo
deon lobo

Reputation: 23

json-simple retrieving unwanted characters

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.

Upvotes: -1

Views: 37

Answers (1)

deon lobo
deon lobo

Reputation: 23

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

Upvotes: 0

Related Questions