From 0c074e4348ff101ba24a59f3155afdafa8d947db Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Thu, 29 Nov 2018 13:40:12 +1300 Subject: [PATCH] Explicitly set the Charset to use, and look for the usual format. In the GitLab CI environment, the command: @header("Content-Type: text/plain"); Generates the Content-Type line of: Content-Type: text/plain; charset=UTF-8 But on my workstation it generates this: Content-Type: text/plain;charset=UTF-8 By adding that charset to our call to @header, we receive a predictable result. --- testing/test-RRULE-v2.php | 2 +- testing/tests/regression-suite/0831-Spec-RRULE-1.result | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test-RRULE-v2.php b/testing/test-RRULE-v2.php index 8a2c7bd5..5f864061 100755 --- a/testing/test-RRULE-v2.php +++ b/testing/test-RRULE-v2.php @@ -12,7 +12,7 @@ $c->dbg = array(); require_once("RRule.php"); require_once('AwlQuery.php'); -@header("Content-Type: text/plain"); +@header("Content-Type: text/plain; charset=UTF-8"); echo <<