UTF8 bug fix

This commit is contained in:
Panagiotis Kanakakis 2019-03-21 13:13:28 +00:00
parent 4bf9657682
commit 368538ddd4
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ public class RepositoryServiceImpl implements RepositoryService {
LOGGER.debug("Updated version!");
httpHeaders = new HttpHeaders();
httpHeaders.set("Content-Type", "application/json");
httpHeaders.setContentType(MediaType.APPLICATION_JSON_UTF8);
for (String vocName : vocabularyNames) {
vocabularyMap.put(vocName, vocabularyLoader.getVocabulary(vocName, Locale.ENGLISH, Locale.ROOT));