@@ -297,6 +297,9 @@ |
||
| 297 | 297 | return $logDirectory; |
| 298 | 298 | } |
| 299 | 299 | |
| 300 | + /** |
|
| 301 | + * @param string $string |
|
| 302 | + */ |
|
| 300 | 303 | private function convertToUtf8($string): string |
| 301 | 304 | { |
| 302 | 305 | if (! \mb_detect_encoding($string, 'UTF-8', true)) { |