diff --git a/cake/tests/lib/reporter/cake_base_reporter.php b/cake/tests/lib/reporter/cake_base_reporter.php index 109bc012a..7a12fd3ae 100644 --- a/cake/tests/lib/reporter/cake_base_reporter.php +++ b/cake/tests/lib/reporter/cake_base_reporter.php @@ -82,6 +82,9 @@ class CakeBaseReporter extends SimpleReporter { */ function CakeBaseReporter($charset = 'utf-8', $params = array()) { $this->SimpleReporter(); + if (!$charset) { + $charset = 'utf-8'; + } $this->_characterSet = $charset; $this->params = $params; }