UnZipFile.GlobalComment
-----------------------

Reads the global comment of the zip archive.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Compression](component_Compression.md) | [3.4](newinversion34.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "UnZipFile.GlobalComment" { ; Encoding } ) 

**MBS**( **"UnZipFile.GlobalComment";** /\* Reads the global comment of the zip archive. \*/  
**$Encoding**) /\* Optional; The text encoding for result.   
Default is native.e.g. UTF8 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| Encoding | The text encoding for result.    Default is native.   Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the [FAQ](https://www.monkeybreadsoftware.com/filemaker/faq.shtml). | UTF8 | Optional |

### Result

Returns text or error.

### Description

Reads the global comment of the zip archive.  
### Examples

Query the global comment:

 MBS ( "UnZipFile.GlobalComment" )  
### See also

- [UnZipFile.ItemComment](UnZipFileItemComment.md)

### Example Databases

- [Archives/Show Zip File Content](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Archives/Show%20Zip%20File%20Content.shtml#3ScriptAnchor_)

This function checks for a license.

Created 18th August 2014 , last changed 12nd November 2015

  
[UnZipFile.ExtractFiles](UnZipFileExtractFiles.md) - [UnZipFile.ItemCRC](UnZipFileItemCRC.md)

[HTML Version](UnZipFileGlobalComment.shtml)