Unit 'Zipper' Package
[Overview][Constants][Types][Classes][Index] [#fcl]

TUnZipper.UseUTF8

Indicates that the UTF-8-encoded names are used when locating and unzipping entries in the archive.

Declaration

Source position: zipper.pp line 623

public property TUnZipper.UseUTF8 : Boolean
  read FUseUTF8
  write FUseUTF8;

Description

UseUTF8 is a Boolean property which indicates if UTF-8-encoded names are used when locating and unzipping items stored in the .ZIP archive.

Each TZipFileEntry instance stored in the Entries collection has both UTF-8-encoded and RawByteString (same as AnsiString with no code page) variants of file or directory names. Set UseUTF8 to True to use the UTF-8-encoded version. The default value is False, and causes the RawByteString version to be used.

UseUTF8 is used when methods like UnZipAllFiles, UnZipFiles, and UnZipFile are called.

See also

TUnZipper.Entries

  

Collection with TFullZipFileEntry instances for files and directories stored in the .ZIP archive.

TUnZipper.UnZipAllFiles

  

Unzips all files in a zip file, writing them to disk.

TUnZipper.UnZipFiles

  

Unzips the specified files in a .ZIP archive file.

TUnZipper.UnZipFile

  

Unzips a single file found in the specified .ZIP archive.

TZipFileEntries

  

Collection used to store information about files and directories in the .zip archive.

TZipFileEntry

  

Represents a file or directory added to a .ZIP file.


Documentation generated on: Nov 23 2024