diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/index/mapper/MapperService.java b/modules/elasticsearch/src/main/java/org/elasticsearch/index/mapper/MapperService.java index 02e61b8ce07..e3db1a768ce 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/index/mapper/MapperService.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/index/mapper/MapperService.java @@ -122,7 +122,7 @@ public class MapperService extends AbstractIndexComponent implements Iterable loadedSettings = settingsLoader.load(Streams.copyToString(new InputStreamReader(is))); + Map loadedSettings = settingsLoader.load(Streams.copyToString(new InputStreamReader(is, "UTF-8"))); putAll(loadedSettings); } catch (IOException e) { throw new SettingsException("Failed to load settings from [" + resourceName + "]");