What happened?
Everything works correctly except when the extracted file contains Arabic/Persian (RTL) text.
The output looks corrupted, such as:
���� �� "�����" ��� �������
����� ����
How to reproduce the bug
$archive = Archive::read('file.rar');
$sub = $archive->getFileItems()[0];
echo $archive->getContents($sub);
Package Version
2.3.02
PHP Version
8.3.27
Which operating systems does with happen with?
Linux
Notes
No response