From ea3109be6702be5cd645172d47a2192783b59978 Mon Sep 17 00:00:00 2001 From: Matthew Leffler Date: Mon, 12 Jan 2015 12:25:55 -0700 Subject: [PATCH] Convert tapString to UTF-8, allowing UTF8 output from PHPUnit, etc. Closes #738 --- PHPCI/Plugin/PhpUnit.php | 1 + 1 file changed, 1 insertion(+) diff --git a/PHPCI/Plugin/PhpUnit.php b/PHPCI/Plugin/PhpUnit.php index 3ea1ae8d..70e0e74f 100644 --- a/PHPCI/Plugin/PhpUnit.php +++ b/PHPCI/Plugin/PhpUnit.php @@ -162,6 +162,7 @@ class PhpUnit implements PHPCI\Plugin, PHPCI\ZeroConfigPlugin } $tapString = $this->phpci->getLastOutput(); + $tapString = mb_convert_encoding($tapString, "UTF-8", "ISO-8859-1"); try { $tapParser = new TapParser($tapString);