From 36c21687ee22ed4571c58fc5c41a99fed334931e Mon Sep 17 00:00:00 2001 From: Enrico Girotto Date: Mon, 5 Feb 2024 16:22:57 +0100 Subject: [PATCH] Solve context encoding in dataflow --- .../engine/rest/controllers/engine/EnginePublicController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klab.engine/src/main/java/org/integratedmodelling/klab/engine/rest/controllers/engine/EnginePublicController.java b/klab.engine/src/main/java/org/integratedmodelling/klab/engine/rest/controllers/engine/EnginePublicController.java index 1f0c288f3..959b15c0b 100644 --- a/klab.engine/src/main/java/org/integratedmodelling/klab/engine/rest/controllers/engine/EnginePublicController.java +++ b/klab.engine/src/main/java/org/integratedmodelling/klab/engine/rest/controllers/engine/EnginePublicController.java @@ -178,7 +178,7 @@ public void exportData(@PathVariable String export, @RequestHeader(name = "Autho if (s == null) { throw new KlabIllegalStateException("observe in context: invalid session ID"); } - + response.setCharacterEncoding("UTF-8"); boolean done = false; IObservation obs = s.getObservation(observation);