Revision 55066
Added by Panagiotis Kanakakis about 5 years ago
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java | ||
---|---|---|
118 | 118 |
LOGGER.debug("Updated version!"); |
119 | 119 |
|
120 | 120 |
httpHeaders = new HttpHeaders(); |
121 |
httpHeaders.set("Content-Type", "application/json");
|
|
121 |
httpHeaders.setContentType(MediaType.APPLICATION_JSON_UTF8);
|
|
122 | 122 |
|
123 | 123 |
for (String vocName : vocabularyNames) { |
124 | 124 |
vocabularyMap.put(vocName, vocabularyLoader.getVocabulary(vocName, Locale.ENGLISH, Locale.ROOT)); |
Also available in: Unified diff
UTF8 bug fix