diff --git a/src/Exporter.php b/src/Exporter.php index 8c0086e..5578aa8 100644 --- a/src/Exporter.php +++ b/src/Exporter.php @@ -230,7 +230,7 @@ class Exporter if (is_string($value)) { // Match for most non printable chars somewhat taking multibyte chars into account - if (preg_match('/[\x00-\x08\x0B\x0E-\x1F\x7F]/', $value)) { + if (preg_match('/[^\x09-\x0d\x1b\x20-\xff]/', $value)) { return 'Binary String: 0x' . bin2hex($value); }