0

Using Java 1.7 and Spring MVC, I am getting a String which contains the following value (from an external datasource):

{ "fullName" : "Pedro Morález" }

But when I print it out or log it the actual value is:

"Pedro Mor?lez"

Here's my code:

String response = restTemplate.getForObject(new URI(feedUrl), String.class);
logger.info("Response: " + response);

How can I keep the apostrophe or just make it a plain "a"?

PacificNW_Lover
  • 4,746
  • 31
  • 90
  • 144

0 Answers0