7-Zip manual: -scc (Set charset for console input/output) switch

-scc (Set charset for console input/output) switch

-scc (Set charset for console input/output) switch

Sets charset for for console input/output.

Syntax

-scc{UTF-8 | WIN | DOS}

Default charset is DOS.

UTF-8
Unicode UTF-8 character set.
WIN
Default character set of Windows.
DOS
DOS (OEM) character set of Windows.

Example

7z l archive.7z -sccUTF-8

lists files from archive.7z in UTF-8 encoding.

Other documents on this site: