I'm posting from windows commandline the folowing curl:
curl -X POST -H "Content-Type: application/json; charset=UTF-8" -k -d "{\"firstName\":\"Marjan\",\"midName\":null,\"lastName\":\"Štekar\",\"address\":\"Kfdsfsd 84b\",\"province\":null,\"country\":\"SI\",\"zipId\":\"5211\",\"zipName\":\"Kojsko\",\"idOrganization\":\"2014042311444948\",\"phoneNum\":\"+386.4336172\",\"faxNum\":\"+386.42226172\",\"email\":\"msss.stsss@adsfsd.si\",\"externalId\":\"2014042214301897\"}" https://domene.arctur.local/rest/contact
And I get the error
org.codehaus.jackson.JsonParseException: Invalid UTF-8 start byte 0x8a at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@298db378; line: 1, column: 51]
If I change the Štekar to Stekar it works ok
The json is copy pasted from a UTF-8 text file
How can I force the comandline to represent the chaarcters as UTF-8