Skip to content

[Feature]: Allow the use of rar to replace the p7zip library #58

Description

@lslqtz

What happened?

Due to long-term non-update, p7zip no longer supports some new RAR5 methods and algorithms, which will cause it to be not universal enough (ERROR: Unsupported Method error occurs).

By using rar to replace p7zip, this problem can be solved because it is an officially supported closed-source library. Moreover, it is not only an option available for macOS, but also for Linux.

In addition, I would like to point out a coding problem: sometimes if this operation is not performed putenv('LANG=C.UTF-8');, it will lead to the reading of the garbled file name, which may prevent the file operation from being carried out.

I found that I didn't seem to have found the template of the feature.

How to reproduce the bug

None.

Package Version

2.3.01

PHP Version

8.2.28

Which operating systems does with happen with?

Linux

Notes

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions