From 3c95ff20f22589f347a388da4d5c4837c9667ecf Mon Sep 17 00:00:00 2001
From: Adam Knapp <adam.knapp@ericsson.com>
Date: Wed, 12 May 2021 16:08:36 +0200
Subject: [PATCH] UTF-8 encoding for Java #408

Signed-off-by: Adam Knapp <adam.knapp@ericsson.com>
---
 mctr2/mctr/ttcn3_start | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mctr2/mctr/ttcn3_start b/mctr2/mctr/ttcn3_start
index 9df39db7c..450d01016 100755
--- a/mctr2/mctr/ttcn3_start
+++ b/mctr2/mctr/ttcn3_start
@@ -37,6 +37,7 @@ exec expect "$0" "$@"
 ##  ETH/XZR Adam Delic          2012.02.22   v1.7  ##
 ##  ETH     Adam Knapp          2021.03.03   v1.8  ##
 ##  ETH     Adam Knapp          2021.04.15   v1.9  ##
+##  ETH     Adam Knapp          2021.05.12   v1.10 ##
 #####################################################
 
 puts "ttcn3_start: Starting the test suite"
@@ -262,7 +263,7 @@ expect {
 if {$isJAR == 0} {
     spawn $ETS $hostname $port
 } else {
-    spawn java -jar $ETS $hostname $port
+    spawn java -Dfile.encoding=UTF-8 -jar $ETS $hostname $port
 }
 set hc_id $spawn_id
 expect {
-- 
GitLab